Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Enlarged Images


Guest

Recommended Posts

Hello:

 

I've got the script working pretty well but I am thinking of adding in stock imagery. I need to be able to upload a small image, which works currently under adding a product. However, when I mess with the configuration images, making things larger in the small size makes the product image larger. So, I undd that. I found the popup_image.php page where I set the windows to be larger but the image needs to be larger too. How do I do this? These images need a watermark automatically added over them too... Any ideas?

Link to comment
Share on other sites

You could add to the small image size then take it off again for the product images. For example, if you doubled the small image width and height in admin, then find the instances of SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT (there are 2 of each) in product_info.php and add the division operator to them.

 

SMALL_IMAGE_WIDTH/2, SMALL_IMAGE_HEIGHT/2

 

Which would bring them back to the original small image width and heigh. Is that what you mean?

Link to comment
Share on other sites

Note sure. Here's what I'd like to see:

 

1) Upload image that will be bought to the downloads folder.

2) Set the size of the pop-up window in the configuration settings for images and have the system resize proportionately to that new pop-up window view.

3) Tell the small image to display the large image, only proportionately sized down to the small image setting in the configuration image settings.

4) Be able to set a watermark to appear over images in the configuration images section.

Link to comment
Share on other sites

Has no one an answer for this? Seems rather odd that you're stuck to such a static way of seeing enlarged images. Can nobody assist me?

 

Maybe no one quite understands what you want.

 

The enlarged image size is as big as the image you upload. That same image is reduced for the small image by HTML output, to the size you set in admin. The pop-up window enlarges to the image size.

You can play with SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT to manipulate that size, by adding operators (+ - / *).

You can install a number of mods that do wonderous things to images, including watermarks. Have you looked?

 

http://www.oscommerce.com/community/contributions/category,9

Link to comment
Share on other sites

That's just it... I want to be able to upload an image for the cart that maintains the look of the stroe icons, separately from the larger image. The cart icons have a border around them and the larger ones will not but should also have the watermark. I will relook for the watermark in the Contributions area but would appreciate insight into the two diffeent images question.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...