Automatic thumbnail creation
Posted: Tue Oct 21, 2003 11:57 am
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
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