Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Different image sizes in catalog


varnco

Recommended Posts

Posted

Kinda odd what I need, but here goes:

 

I want to promote my products using a large sized image, say 400 x 300 on the product info page. In setup, I change the image size to equal that, and then have my images that size that I upload using the admin.

 

The problem is that the images for the reviews box (in the left column) and the product_review pages is now too large, and is stretching my web site, and it's looking pretty awful.

 

How do I set up the image product review box (in left column) and the image in the product review page to be smaller than 400x300?

 

The image that shows in the shopping cart is scaled to fit nicely.. I just want the other 2 locations to do the similar rescaling.

 

Thanks!

Posted
Kinda odd what I need, but here goes:

 

I want to promote my products using a large sized image, say 400 x 300 on the product info page. In setup, I change the image size to equal that, and then have my images that size that I upload using the admin.

 

The problem is that the images for the reviews box (in the left column) and the product_review pages is now too large, and is stretching my web site, and it's looking pretty awful.

 

How do I set up the image product review box (in left column) and the image in the product review page to be smaller than 400x300?

 

The image that shows in the shopping cart is scaled to fit nicely.. I just want the other 2 locations to do the similar rescaling.

 

Thanks!

 

Well, I figured it out.

 

I replaced

 

SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT

 

with

 

SMALL_IMAGE_WIDTH*.40, SMALL_IMAGE_HEIGHT*.40

 

in the following files:

 

product_reviews_write.php

includes/reviews.php

product_reviews_info.php

product_reviews.php

 

 

The *.40 multiplies whatever you have set up in my store for image sizes by that percent, making them smaller.

 

Just in case someone else wants to have larger images on their productinfo.php

Archived

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

×
×
  • Create New...