Forums / General Questions / Can i have different image extension

Can i have different image extension

Locked

Views: 834

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
9 Oct 2008, 4:39 PM
#1
navido avatar

navido

Zen Follower

Join Date:
Sep 2008
Posts:
221
Plugin Contributions:
0

Can i have different image extension

Hi everyone

I didnt find any topic after searching for my question so i post it here:

I have newly started uploading pictures for my site. I am using .gif extension for product listing(small images), but for the large images i want to use .jpg.

This is because if i use .gif for large images, the quality is lost (which i understand why).

And vice versa. If i compress my small images to .jpg and still want the large images as .jpg, the small images is not shown with top quality.

I have read the tutorial for image preparation.

But is it not possible to have different extensions for the images? Because it does not show the large.
I thought zen only looks at the suffix (which is _LRG for me).

Can anyone please help me, any suggestion?

Thanks :smile:

10 Oct 2008, 1:53 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Can i have different image extension

In the v1.3.x and earlier versions of Zen Cart, it only supports one filename extension per product.
If you need alternate filename extensions, you'll have to use an addon such as Image Handler.

.
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.