If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Using _LRG images and thumbnails - how to improve?

Using _LRG images and thumbnails - how to improve?

Started by davebr on 6 Jun 2012, 12:15 AM · Views: 637

Results 1 to 7 of 7
6 Jun 2012, 12:15 AM
#1
davebr avatar

davebr

New Zenner

Join Date:
Jun 2012
Posts:
4
Plugin Contributions:
0

Post #1 by davebr

I have followed the tutorials about scaling and using multiple images for products. My product thumbnails are 125 high with variable width up to 188. The _LRG images are typically up to 900 high.

My scaled thumbnails look much better than the zencart scaled images so I am happy with that. However, on the product page below the thumbnail is a "view larger" link which just shows the thumbnail in a pop-up - not much value. At the bottom of the product listing is a crummy looking thrumbnail generated from the larger image with a "view larger" link that pops up a nice large image.

Can I eliminate the "view larger" link from under the thumbnail since it doesn't display a larger image?
How can I get zencart to use my thumbnail for the larger image at the bottom?

It seems like using multiple image resolutions has a few rough edges.

Dave

6 Jun 2012, 12:55 AM
#2
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Post #2 by rstevenson

In its stock form ZC behaves just as you expect it to behave. What you describe is not normal. But we can't guess what's wrong; we'll need a link to your site to explore the matter.

Rob

Breakfast: the most important donut of the day.

6 Jun 2012, 4:03 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #3 by drbyte

Right. You're supplying the wrong images, or you're using some sort of addon that's changing normal operation of the software.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Jun 2012, 4:18 PM
#4
davebr avatar

davebr

New Zenner

Join Date:
Jun 2012
Posts:
4
Plugin Contributions:
0

Post #4 by davebr

The site is at http://www.vintagetek.org/zencart/
Look at any of the products. For the Concept and Measurement concept books the image I chose for the product is filename.jpg and the resolution is 84x125. In the same images directory I FTP'd a filename_LRG.jpg at a resolution of 600x900. I am not aware of any addons. We are using v139h.

Dave

6 Jun 2012, 6:30 PM
#5
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Post #5 by rstevenson

davebr:

... In the same images directory I FTP'd a filename_LRG.jpg at a resolution of 600x900.
Don't put the LRG image in the same directory. They go like this...

../images/filenames.jpg
../images/large/filenames_LRG.jpg
../images/medium/filenames_MED.jpg

All will work.

Rob

Breakfast: the most important donut of the day.

6 Jun 2012, 9:30 PM
#6
davebr avatar

davebr

New Zenner

Join Date:
Jun 2012
Posts:
4
Plugin Contributions:
0

Post #6 by davebr

rstevenson:

Don't put the LRG image in the same directory. They go like this...

../images/filenames.jpg
../images/large/filenames_LRG.jpg
../images/medium/filenames_MED.jpg

All will work.

Rob

Works perfect. Thanks.

Dave

6 Jun 2012, 9:35 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #7 by drbyte

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.