Hi there
My site currently has an online catalogue, by each description is a thumbnail which when clicked ( guess what! ) pops up a large version of the image. This system works absolutely fine. In order to make my thumbnail im simply doing a batch conversion on all my jpgs and reducing the main images by 25%. Then Main Images and thumbs are then put in separate directories and uploaded and displayed as required.
My query is this, Ive noticed in my PHP book that PHP has many image functions that could generate the thumbs for me dynamically from the main image therefore without the need for a directory of thumbnails. Before investigating this I was wondering about performance issues i.e would is be better for me to leave the system as is, or would there be a benefit from letting PHP generate the thumbs.
Thanks in advance
Automatic thumbnail creation
Moderator: General Moderators
I'd leave it as it is. If you get PHP to do it then you'll just introduce extra overhead. i.e checking if a thumbnail exists, if not generate it and all this whilst the user waits for the page.
Most 'systems' that do this leave the thumbnailing to something 'external' like ImageMagicks convert as they are designed to do this sort of stuff
Most 'systems' that do this leave the thumbnailing to something 'external' like ImageMagicks convert as they are designed to do this sort of stuff