Forums / General Questions / Use Different Image in Products Info

Use Different Image in Products Info

Locked

Views: 1,101

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
23 Oct 2008, 6:12 PM
#1
globie avatar

globie

Zen Follower

Join Date:
Aug 2008
Posts:
134
Plugin Contributions:
0

Use Different Image in Products Info

Is there a way to have a different picture shown on the product info. page?

When someone is on the homepage our featured products are shown. When they click on the image to go to the product info., is there a way to show a different image then what is seen on the Feature Products list?

So basically one image here, then when clicked on, a different image. :)

23 Oct 2008, 10:18 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Use Different Image in Products Info

By default, Zen Cart uses a 3 image system:
base
medium
large

This is fully done by image name - - so you can create a different image for the medium & large if you want and just name it the same base image name as the small image(base)
For mor about how this is setup see this tutorial

https://www.zen-cart.com/tutorials/index.php?article=224

Zen-Venom Get Bitten

24 Oct 2008, 4:16 PM
#3
globie avatar

globie

Zen Follower

Join Date:
Aug 2008
Posts:
134
Plugin Contributions:
0

Re: Use Different Image in Products Info

Thanks Kobra! I'll look at it and post back. :smile:

10 Dec 2008, 9:27 PM
#4
globie avatar

globie

Zen Follower

Join Date:
Aug 2008
Posts:
134
Plugin Contributions:
0

Re: Use Different Image in Products Info

I still haven't been able to figure out how to get a different image into my product description using the tutorial.

I've created an image called holiday.jpg that is in the main image directly, and then I created an image called holiday_01.jpg and uploaded it to the images/medium directory.

In Admin-->Categories/Products

I specify the holiday.jpg image and I was expecting it to show on the home page, which it does, but when I click on the image to be taken to the product description it does not change to the holiday_01.jpg image.

I'm clearly missing something... can someone tell me what?? Thank you.

10 Dec 2008, 11:19 PM
#6
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Use Different Image in Products Info

Base image is holiday.jpg..images folder
Medium image is holiday_MED.jpg...images/medium folder
Large image is holiday_LRG.jpg..images/large folder
Additional images would be
holiday_01.jpg..images folder
holiday_02.jpg..images folder

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

11 Dec 2008, 5:49 PM
#7
globie avatar

globie

Zen Follower

Join Date:
Aug 2008
Posts:
134
Plugin Contributions:
0

Re: Use Different Image in Products Info

gjh42 and misty, thank you!!

I was able to get the different image to show up on the product info page.

gjh42, the website is at mycupcoffee.com. in the featured products, our holiday blend coffee is what I am working with.

For anyone else who wants to do this and like me doesn't fully understand what the tutorial is saying, and you want to have different images to show for your featured products, and product info. page, and larger image.

make images for your small, medium, and large photos. small images are whats in the featured products, medium is what is shown in the product info. page, and large is the enlarged photo.

for your featured product image your name would be image.jpg. medium image would be named image_MED.jpg, and of course large would be image_LRG.jpg

Upload those images to the correct directory. image.jpg would just go in /images. medium would go in images/medium, and large in images/large

And also be sure to set the image widths and heights in Admin to have it uniform.

6 Mar 2009, 11:11 PM
#8
jellyrock avatar

jellyrock

New Zenner

Join Date:
Feb 2009
Location:
Laguna Niguel, CA
Posts:
2
Plugin Contributions:
0

Re: Use Different Image in Products Info

Thanks guys, I'm building my first ZC for a client and that was stumping me too! icky.com/store (I think that it wasn't super clear which image to upload when adding a new product) Globie, great tip about the small image just being called image.jpg - I thought I was going nuts! (Judging by so many Zen Carts I've looked at out there with 100K+ size thumbnails, I think this is one of those things that a lot of folks aren't getting right)

Thanks to all of you again.

Tony
JellyRock

:D

7 Mar 2009, 5:47 PM
#9
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Use Different Image in Products Info

The tutorial is very clear about which image to load where (though the reference to the /dvd/ folder is unnecessary and can confuse some people), but a whole lot never read the tutorial and have no idea about file sizes.