PDA

View Full Version : Automatic Thumbnail



michael_s
01-17-2007, 05:50 PM
This is an Add-On to the contrib "Automatic Thumbnail"
http://www.oscommerce.com/community/contributions,1484/category,all/search,thumbnail
I used the version of date 11 Jul 2006, uploaded by: olaf_noehring

My products images are in different subdirectories depending on the categorie of the product, for example:

catalog/images/videogames
catalog/images/computers
catalog/images/pets
catalog/images/randomstuff

and normally the Thumbnail generator will save all the thumbs created to
catalog/images/imagecache

with this mod the thumbnails will be saved this way:

catalog/images/videogames/thumbs
catalog/images/computers/thumbs
catalog/images/pets/thumbs
catalog/images/randomstuff/thumbs

So this way you have your thumbs organized in the correspondent directory.

This only work with images saved in the catalog/images directory or images saved to the firs next subdirectory like catalog/images/subdirectory

It will not work in directorys like: images/subdirectory/anothersubdirectory/

Most people only need the first directory, my php skills are limited and i only needed 1 subdirectory. But it should be easy to make this work with more subdirectories.

THIS IS NOT THE COMPLETE CONTRIB, ONLY THE INSTRUCTIONS TO ADD THIS MOD.

Sorry for my bad english..

More... (http://www.oscommerce.com/community/contributions,1484)