PDA

View Full Version : 'On the Fly' Auto Thumbnailer using GD Library



michael_s
07-25-2007, 10:24 PM
This package includes everything you need.

I have fixed a problem with the "2.3 Full Package + minor readme text adjustment" version step #13 as it was structured improperly and created the images to be missing in the admin panel!

It had read:
Find this (25):
define('DIR_WS_CATALOG_IMAGES', 'images/');
Replace it with this:
define('DIR_WS_CATALOG_IMAGES', '../images/');


When it should have read:
Find this (13):
define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
Replace it with this:
define('DIR_WS_CATALOG_IMAGES', '../images/');


Had you just edited the ../ part as it indicated was all was that needed, you would have been leaving the "DIR_WS_CATALOG ." snippet which would break the purpose of the script. I also fixed the line number to 13 from 25.

If you use an older version, and you have problems with images not showing up in your admin panel, this fix should solve your woes.



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