Forums / Setting Up Categories, Products, Attributes / Category Support of _MED and _LRG Images

Category Support of _MED and _LRG Images

Locked

Started by dmfelder on 28 Mar 2009, 8:00 PM · Views: 1,255

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
28 Mar 2009, 8:00 PM
#1
dmfelder avatar

dmfelder

Zen Follower

Join Date:
Nov 2006
Posts:
102
Plugin Contributions:
0

Category Support of _MED and _LRG Images

Does category image processing allow for the use of _MED or _LRG images? I use 150x150 sub-category images. When I click, I want to show a 250x250 image. I know how to adjust image sizes, but I want to use a _MED or _LRG image because the ZC image reduction algorithm distorts my image too much.

In other words, ZC reduces the 250x250 image to fit into a 150x150 box. This reduced image is too distorted to read. I would like to upload a legible 150x150 image, and then when it's clicked, I'd like to display the native 250x250 image. That way, both images are crystal clear.

I have read through various posts, but I cannot get this to work. I use this "image override" for PRODUCTS without issues, but I cannot get it to work with categories.

Example 1:

150x150 category image: cat1.jpg
250x250 category image: medium/cat1_MED.jpg
250x250 category image: large/cat1_LRG.jpg

(I tried both but neither worked)

Example 2:

150x150 category image: categories/cat1.jpg
250x250 category image: categories/medium/cat1_MED.jpg
250x250 category image: categories/large/cat1_LRG.jpg

I also toggled the "Use Proportional Images" option, but to no avail.

Any ideas?

the

DMFelder | Visit GreatApparelForYou.com for Chicago Direct to Garment printing and Chicago Screen Printing and for Funny Tees and shirts go to gafy.com. We also have Eco-Friendly Printing services.

29 Mar 2009, 3:13 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Category Support of _MED and _LRG Images

This is a default action in ZenCart and only relies upon your insuring that the file names follow the convention and additional med & lrg images are FTP'd to the appropriate folders...

A link to the site where you are not seeing this will assist

Zen-Venom Get Bitten

29 Mar 2009, 4:35 PM
#3
dmfelder avatar

dmfelder

Zen Follower

Join Date:
Nov 2006
Posts:
102
Plugin Contributions:
0

Re: Category Support of _MED and _LRG Images

Thanks Kobra.

The best example is here:
http://sickbrands.com/ sickcart/index.php?main_page=index&cPath=19_20

Take a look at the image for Dedication Courage Glory:
images/categories/cat_designs_dcg.jpg

I would expect that when I click on this image, a larger image would load on that sub-category page. The following images exist in my directory:

images/categories/cat_designs_dcg.jpg
images/categories/cat_designs_dcg_MED.jpg
images/categories/medium/cat_designs_dcg_MED.jpg
images/categories/large/cat_designs_dcg_LRG.jpg
images/large/cat_designs_dcg_LRG.jpg
images/medium/cat_designs_dcg_MED.jpg

Zen-Cart loads only the first image.

Is my assumption incorrect, or do the categories use images differently on different pages?

DMFelder | Visit GreatApparelForYou.com for Chicago Direct to Garment printing and Chicago Screen Printing and for Funny Tees and shirts go to gafy.com. We also have Eco-Friendly Printing services.

29 Mar 2009, 4:57 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,724
Plugin Contributions:
0

Re: Category Support of _MED and _LRG Images

Is my assumption incorrect, or do the categories use images differently on different pages?

The category only uses a base image and does not use the automagic naming convention. Only products use the multiple images.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

30 Mar 2009, 3:11 PM
#5
dmfelder avatar

dmfelder

Zen Follower

Join Date:
Nov 2006
Posts:
102
Plugin Contributions:
0

Re: Category Support of _MED and _LRG Images

I assume asking if there is an "easy" way to make this happen is probably not worth my breath? (LOL!)

DMFelder | Visit GreatApparelForYou.com for Chicago Direct to Garment printing and Chicago Screen Printing and for Funny Tees and shirts go to gafy.com. We also have Eco-Friendly Printing services.