|Info||View files (3)||Download .zip||Reputation||Support forum||Blog|
|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2012-04-17 (2 years ago)||Not yet rated by the users||Total: 460||All time: 5,473 This week: 1,669|
|image-embedder 0.1||MIT/X Consortium License||5.0||HTML, PHP 5, Graphics|
It can parse HTML documents to locate image tags.
The class can read the images and replace the image tags with URLs that embed the image data in the files, as long the files are not larger than a size limit which is 50K by default.
The original HTML files are renamed and the altered HTML documents are saved back to new files with the same name as the original.
Prize: One downloadable copy of Komodo IDE
|When you need to send an HTML page to somebody, it may be a complicated process if it uses images or other resources as external files. In that case all the external resources need to be bundled with the main HTML page.
This class implements an alternative solution to avoid needing to bundle external files as separate files.
It replaces all image tags with data URLs that contain the actual image data embedded in the same HTML document, so the images no longer need to be retrieved from separate files.
|Version Control||Unique User Downloads||Download Rankings|
|This week:||0||This week:||1,669|