Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

On the Fly Thumbnailer problems


webstar

Recommended Posts

Hi everyone,

 

Another one for the on the fly thumbnailer crowd.

 

I thought I did it all right, but when I tried it it still didn't work. When testing it with a square thumbnail it still wasn't right - it stretched it to fit the rectangle size that was set. Then I thought I'd play around with the admin image section and made the small image size width a blank and the thumbnails came out in the right proportions! When I right clicked properties on the thumbnail and enlarged file though, they were both the same size, so the thumbnailer obviously wasn't working. I decided to overwrite the thumbnailer files with my original files since it wasn't working anyway, and then the thumbnails turned very large. Bleh... sooo I reinstalled only the gallery/includes/functions/html_output.php with the thumbnailer code in it, and the thumbnails were the right proportions again... go figure...

 

But now I'd like to actually make the thumbnails a smaller file size like originally intended.

When I looked again at step#3 where it says to verify the code in catalog/included/configure.php to make sure lines 21-23 ish say this:

 

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

 

mine says this:

define('DIR_WS_HTTP_CATALOG', '/gallery/');

define('DIR_WS_HTTPS_CATALOG', '/gallery/');

define('DIR_WS_IMAGES', '/gallery/images/');

 

would having the /gallery/ in front of the images/ cause the problem? and if I take it out would it screw up any other part of the shopping cart? My shop is called gallery, not catalog, but that shouldn't make a difference would it, or should I be changing something in the thumbnailer code to reflect that difference?

 

Thank you in advance for your help!

:)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...