If this is your first visit, check our documentation. To post, register or login.

Mulitple Images

Locked

Started by trisha1581 on 8 Jan 2007, 7:35 PM · Views: 2,272

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
8 Jan 2007, 7:35 PM
#1
trisha1581 avatar

trisha1581

New Zenner

Join Date:
Jan 2007
Posts:
66
Plugin Contributions:
0

Post #1 by trisha1581

Does anyone know how to get multiple product images with in the site. Or is there a module that needs to be added?

8 Jan 2007, 8:17 PM
#2
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Post #2 by tinas

If you are speaking of multiple images per product there is info in the help files regarding this - no mod is needed - see here :
https://www.zen-cart.com/tutorials/index.php?article=58

HTH

When the world gets in my face I say Have A Nice Day.

8 Jan 2007, 8:51 PM
#3
wils avatar

wils

Zen Follower

Join Date:
Apr 2006
Location:
Göteborg
Posts:
124
Plugin Contributions:
0

Post #3 by wils

Hi,

Use _ for the additional images. Just using the first few characteras didn't work on one of my installations (as in the Fred example in the tutorial).

Example:

basename.jpg
basename_something1.jpg
basename_something2.jpg

etc.

/W

11 Jan 2007, 3:14 PM
#4
jmatthewsr avatar

jmatthewsr

New Zenner

Join Date:
Dec 2006
Posts:
13
Plugin Contributions:
0

Post #4 by jmatthewsr

Hi,
What happens if you are adding new products to the system and you inadvertently add products with similar product image names, will this cause the adverse affect of adding those other product images as additional images? This may be happening on my site for the first product that was listed.

thanks,

-justin

11 Jan 2007, 3:24 PM
#5
jmatthewsr avatar

jmatthewsr

New Zenner

Join Date:
Dec 2006
Posts:
13
Plugin Contributions:
0

Post #5 by jmatthewsr

(I'm guessing yes, if you upload images with similar starting letters that this will happen, additional images can be turned off by Catalog->Product Types->Edit Layout->Show Product Additional Images)

11 Jan 2007, 9:40 PM
#6
ennyaa avatar

ennyaa

New Zenner

Join Date:
Jan 2007
Posts:
17
Plugin Contributions:
0

Post #6 by ennyaa

Sorry if this is a dense question but could I use this method to show a different image on the Product Listing Page than on the Product Info page? I ask because some of my product images are animated which is fine when you're looking at a specific products. But on the listing page when there are 7 animations all running at the same time it can look kinda crazy. So I'd love to be able to show static images on the listing pages.

11 Jan 2007, 9:50 PM
#7
gjh42 avatar

gjh42

Black Belt

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

Post #7 by gjh42

The main product images will only interfere with each other if they are identical.

Additional images are formed from the main image name plus characters... so main image fred.jpg and main image frederick.jpg can be different, but the system may see frederick as an additional image for fred as well.

11 Jan 2007, 9:53 PM
#8
kobra avatar

kobra

Black Belt

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

Post #8 by kobra

Ennyaa,

You can use this trick if you employ the native Zen Cart 3 image system

the small main image is uploaded when you set up the product.

Now you can FTP a medium and large image to /images/medium and /images/large

these have a suffix of image_MED.jpg and image_LRG.jpg

Now these med and large images are separate files in separate locations. Zen Cart will automatically use them and they do not necessarily have to be just larger representations of the sam image....they can be different images all together.

For Zen Cart to automatically use them, they do have to have the same name with the _MED & _LRG suffixes

Zen-Venom Get Bitten

11 Jan 2007, 9:54 PM
#9
gjh42 avatar

gjh42

Black Belt

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

Post #9 by gjh42

the system uses the "small" (name.jpg) image for the product listing pages, and the "medium" (name_MED.jpg) image for the product info page.

Load a static image for small and the animated one for medium and you should be ok.

Review the image directory setup for the correct location for each type of file.

12 Jan 2007, 4:55 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #10 by ajeh

See if this thread helps with the examples of the cat images ...

http://www.zen-cart.com/forum/showthread.php?t=44442&highlight=calicocat%2A

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 Jan 2007, 5:26 AM
#11
ennyaa avatar

ennyaa

New Zenner

Join Date:
Jan 2007
Posts:
17
Plugin Contributions:
0

Post #11 by ennyaa

Thanks everyone. My store is really starting to shape up now!

... Ok so of course I have another question. I made the mod so that I can use flash movies as product images and it's working great. Will this multiple size naming schema work if the file extension is a .swf instead of a jpg or gif?

12 Jan 2007, 5:59 AM
#12
kobra avatar

kobra

Black Belt

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

Post #12 by kobra

Unfortunately not as it specifically looks for th identical file type...If you have the facility convert all to either static gif's and animated gif's this would work.

Zen-Venom Get Bitten

18 Jan 2007, 10:47 PM
#13
ennyaa avatar

ennyaa

New Zenner

Join Date:
Jan 2007
Posts:
17
Plugin Contributions:
0

Post #13 by ennyaa

Just an update for anyone who was interested. I tried converting to animated gifs but they wound up being HUGE! So instead I saved out 1 frame of my animation as a swf and used that for the small image and the full animated swf as the medium one.

Worked like a charm. I even added some string checking in html_output.php to put different width and heights in my embed tag to make them a little smaller if the image name didn't contain _MED or _LRG.