Dynamic PHP Image Consolidator

Visit Publisher Site
Get Dynamic PHP Image Consolidator Hosting

Sponsored by TMDHosting

I've been trying to improve performance on my site by minimizing the number of round-trips to the server to retrieve files. I've found scripts out there to dynamically merge css files and javascript files into a single download, and I wondered if something similar could be done for images... Interestingly, I accidently discovered that youtube does exactly this by merging a bunch of their images into a single file, and then dynamically plucking them from this 'image menu' using the css background scroll. Cool, you say? That's what I thought. I threw this script together by merging a variety of other scripts I found on the net. Enjoy. Just drop it on your server, and pass the relative path of the directory you want it to draw files from --- here's an example: http://www.yourserver.com /combine.php?dir=/images/ Note: it will filter the files -- will only read .png .gif and .jpg (or .jpeg), so you don't ahve to worry if you have other files types in that directory as well.

Visit publisher site: Dynamic PHP Image Consolidator

Listing Details

Filed in:
Scripts / PHP / Scripts & Programs / Image Handling / Image Manipulation
Submitted on:
Last Updated:
Sep 19, 2008 
Other listings by this publisher

License & Pricing Information

License Type:
$0.00 USD
Additional Info:

User Reviews 

Be the first to review this listing!
Average Member Rating: 2.67/5