Forums / Templates, Stylesheets, Page Layout / Decrease size of enlarged images

Decrease size of enlarged images

Locked

Started by mattys on 3 Jun 2009, 4:47 PM · Views: 1,786

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
3 Jun 2009, 4:47 PM
#1
mattys avatar

mattys

Zen Follower

Join Date:
Sep 2006
Location:
North Devon, England, UK
Posts:
289
Plugin Contributions:
0

Decrease size of enlarged images

Hi

Shop is here http://www.redguavaweddings.co.uk/shop/, product in 'Favours'.

Using latest version of zen cart.

I would like to be able to decrease the size of the enlarged image. At the moment when you click on a photo to enlarge, if the photo was large when uploaded, the enlargement is the same size, huge! (if the pic you uploaded was huge).

Image sizes can be cnaged apart from the enlargement.

I have seen that you can fix the size of pop up window in modules/pages/product_info/jscript_main.php, but I tried this and it made no difference to the size of the pop up window, or photo - I'm not sure it will change the size of the enlarged product image anyway, just the pop up window.

Can anyone advise how i might go about this?

If this can be acheived it would save the client having to resize each image before upload.

Thanks in advance.

Matt

3 Jun 2009, 5:16 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Decrease size of enlarged images

For a lot of reasons (including file size), images should all be sized and optimized BEFORE they are FTP'd to the images folder.

There are many programs that can do batch processing - I use ULEAD for this purpose. Just the other day we re-sized 688 new images for a client... took 60 seconds...

20 years a Zencart User

4 Jun 2009, 10:02 AM
#3
mattys avatar

mattys

Zen Follower

Join Date:
Sep 2006
Location:
North Devon, England, UK
Posts:
289
Plugin Contributions:
0

Re: Decrease size of enlarged images

I was kind of hoping that there might be a way to resize the enlargements, like you can any other images, bit strange that you can't, but thanks for that.

21 Jul 2009, 6:11 PM
#4
strongarm50 avatar

strongarm50

New Zenner

Join Date:
Jul 2009
Location:
KY
Posts:
1
Plugin Contributions:
0

Re: Decrease size of enlarged images

So I am totally new and having this same issue. All I did was take a picture, set up my product and then uploaded the image to my product page. Now when i click the image to enlarge, its massive!! I read the tutorial on this matter and was only confused further. So i need a program to re size my pictures before i upload them to my product page? I didn't upload to my images folder but directly to my product page. Here is my site. Any pointers or help would be appreciated .

http://strongarmballistics.com/store

21 Jul 2009, 6:32 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Decrease size of enlarged images

Yes, you'll need some program to resize your images. The 'raw' image from most digital cameras is way too big to use as Zencart imagery. Zencart resizes the image to display in the product listing and product info page, but the file size remains the same. Product images should be <10Kb. Yours (for the Beast) is 210Kb. When you have more products, your pages will load very slowly.

One free program (simple, but will do the job) is paint.net (Windows only). You can also install the Image Handler 2 mod.