|
|
|
|
"Hey everybody. I recently realized how many people are using the tep_image function with very large images, and using the SMALL_IMAGE_WIDTH
and SMALL_IMAGE_HEIGHT parameters to resize the image.
This is a problem because the user actually has to download the full image (even if just to see a thumbnail). So I decided to write this
contribution that will allow for a simple file to be ran. When this file is ran, it will scan your images directory, and create a thumbnail
for every .jpg or .jpeg file in that directory. The thumbnails will be generated with proportions in tact. If the image is wider than it is
tall, than it will use the width of SMALL_IMAGE_WIDTH. If the image is taller than it is wide, the height will be set to SMALL_IMAGE_HEIGHT.
I hope this helps someone. Leave a note on the forums if you find it useful.
Thanks,
-Chris" |
|
|
|
 |
| For more information, visit the official osCommerce contribution webpage. |
 |
|
|