Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / Multiple product images

Multiple product images

Locked

Started by rebekahpaul on 20 Jun 2006, 6:53 PM · Views: 14,398

Results 1 to 20 of 54
This thread is locked. New replies are disabled.
20 Jun 2006, 6:53 PM
#1
rebekahpaul avatar

rebekahpaul

New Zenner

Join Date:
Jun 2006
Posts:
25
Plugin Contributions:
0

Multiple product images

Hi, I can not figure out how to add multiple product images? Thank you.

20 Jun 2006, 11:45 PM
#2
Kim avatar

Kim

Obaa-san

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

Re: Multiple product 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.

21 Jun 2006, 1:32 AM
#3
rebekahpaul avatar

rebekahpaul

New Zenner

Join Date:
Jun 2006
Posts:
25
Plugin Contributions:
0

Re: Multiple product images

Yes, I saw that but it doesn't make sense when I don't load images via a categories.php file, I upload them in the UI. I also am not using the images/dvd directlry and therefore do not know where to put the additional images.

Quote:
You load via the categories.php an image file called:
a_bugs_life.gif and put it in the /images/dvd directory via the drop down
Now you FTP additional images to /images/dvd

OSC had a sidebar next to where you upload the first image for additional images. Why isn't that available in Zencart? I thought maybe I just had to turn it on somewhere.

21 Jun 2006, 1:50 AM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Multiple product images

When uploading the first image ... next to the Browse button is ...

Upload to directory: (available images directories)

Main Directory is /images

The others are the directories under /images

If you use the Main Directory and are loading the file: fred.jpg

You will find it in:
/images/fred.jpg

The Medium image then goes to:
/images/medium/fred_MED.jpg

The Large image then goes to:
/images/large/fred_LRG.jpg

If you have additional images they would be:
/images/fred_01.jpg
/images/fred_02.jpg
/images/fred_03.jpg

The additional large images would go to:
/images/large/fred_01_LRG.jpg
/images/large/fred_02_LRG.jpg
/images/large/fred_03_LRG.jpg

Now, if you want a new /images directory for a given Product or what have you you could create:
/images/something

And set the permissions on /something to 777

If you use the something directory and are loading the file: fred.jpg

You will find it in:
/images/something/fred.jpg

The Medium image then goes to:
/images/medium/something/fred_MED.jpg

The Large image then goes to:
/images/large/something/fred_LRG.jpg

If you have additional images they would be:
/images/something/fred_01.jpg
/images/something/fred_02.jpg
/images/something/fred_03.jpg

The additional large images would go to:
/images/large/something/fred_01_LRG.jpg
/images/large/something/fred_02_LRG.jpg
/images/large/something/fred_03_LRG.jpg

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!

21 Jun 2006, 3:50 AM
#5
rebekahpaul avatar

rebekahpaul

New Zenner

Join Date:
Jun 2006
Posts:
25
Plugin Contributions:
0

Re: Multiple product images

Thank you, an answer that makes sense!

21 Jun 2006, 3:57 AM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Multiple product images

Actually it is the same as what Kim posted earlier ...

The difference is ... I broke out both the /images and /images/something so you could see it very clearly and not be confused by the /images vs /images/dvd ...

New words ... new understanding ... :smile:

Glad this was able to help you ...

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!

20 May 2008, 9:03 AM
#7
aleemx316 avatar

aleemx316

New Zenner

Join Date:
Mar 2008
Posts:
29
Plugin Contributions:
0

Re: Multiple product images

Hey i have the same problem i want to add multiple images to a product

i created a folder under images callled ps3
images/ps3

I uploaded 3 pics

images/ps3/ps3_.jpg
images/ps3/ps3_1.jpg
images/ps3/ps3_2.jpg

Only the ps3_.jpg image appears on the site because this was selected as the main upload image the rest dont appear.

Any ideas????
Please help

20 May 2008, 10:40 AM
#8
aleemx316 avatar

aleemx316

New Zenner

Join Date:
Mar 2008
Posts:
29
Plugin Contributions:
0

Re: Multiple product images

Ok i even created images in the large and medium folder like

large/ps3_LGE.jpg
large/ps3_1_LGE.jpg

and the medium was done teh same way.

I still cannot display multiple images what am i doing wrong????
plz help

20 May 2008, 5:52 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Multiple product images

If "ps3_.jpg" is your main image filename, then the following would work:

/images/ps3/ps3_.jpg
/images/ps3/ps3__1.jpg
/images/ps3/ps3__2.jpg
/images/large/ps3/ps3_LRG.jpg
/images/large/ps3/ps3__1_LRG.jpg

Notice the double-underscores in various places (since your base image already contains one underscore, in order to fit the pattern the additional underscore must be added), as well as the use of "LRG" instead of "LGE".

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

21 May 2008, 8:38 AM
#10
aleemx316 avatar

aleemx316

New Zenner

Join Date:
Mar 2008
Posts:
29
Plugin Contributions:
0

Re: Multiple product images

Ok it worked thx a milion

7 Jun 2008, 11:41 PM
#11
saaliha avatar

saaliha

New Zenner

Join Date:
May 2008
Posts:
27
Plugin Contributions:
0

Re: Multiple product images

hi i tried this now where do i upload it to the site through the admin cp on zencart do i just add the filename instead of uploading via browse please can sum1 help me i really dont understand im so new to all this i added a new file images/nikeid inside i put 2 pics nike.jpg and nike_1.jpg i then did the same in medium but added nike_MED.JPG and nike__1_MED.JPG and same in large but with LRG.JPG now what do i do i tried goin on zencart admin area and typin the filename instead of browse button but when it displays it just shows broken image picture :cry:

12 Jun 2008, 1:58 PM
#12
mishutkadesign avatar

mishutkadesign

New Zenner

Join Date:
May 2008
Location:
Maryland, USA
Posts:
73
Plugin Contributions:
0

Re: Multiple product images

" .. And set the permissions on /something to 777 ... "

How do I set the permissions on a folder? Thanks a lot!

13 Jun 2008, 8:57 PM
#14
ajeh avatar

ajeh

Oba-san

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

Re: Multiple product images

You may wish to check your two configure.php files as I am seeing double // in the URL and that is generally a configuration issue on those file(s) ...

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!

9 Aug 2008, 6:23 AM
#15
dontknowwhatimdoing avatar

dontknowwhatimdoing

Zen Follower

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

Re: Multiple product images

I'm having the same, but different problem here:
http://www.zen-cart.com/forum/showthread.php?t=104915

I need images with different extensions to work, for example:

widget.gif
widget_01.gif
widget_LRG.jpg

My large images are always .jpg and my smaller images are gifs.. I can't seem to find a mod that allows this...

I also have cases where I need the same preview, but different large images... I can't figure out a way to get zen cart to accommodate this..

for example:
product1:
widget.gif
widget_LRG.jpg

product2:
widget.gif
widget02_LRG.jpg

product3:
widget.gif
widget03_LRG.jpg

product4:
widget.gif
widget04_LRG.jpg

It's sloppy & innefficient if I'm forced to rename the same preview image, as if it's 1,000 different images to accomodate the system--it would explode my database & make things a sloppy mess...

do I have a choice with zen cart?

9 Aug 2008, 6:25 AM
#16
drbyte avatar

drbyte

Sensei

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

Re: Multiple product images

dontknowwhatimdoing:

I can't seem to find a mod that allows this...
That's because there isn't one at the present time.

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

1 Sep 2008, 6:59 PM
#17
makrista avatar

makrista

New Zenner

Join Date:
Mar 2007
Posts:
4
Plugin Contributions:
0

Re: Multiple product images

I am using 1.3.7...

I have two images for one product:

Numbers272WM.jpg
Numbers272WM_1.jpg

Only one image will display...both are in same directory with file permission 777 (public_html/images)

I have set Product Type - General to
Show Product Additional Images - True

Configured images:

Product Info - Number of additonal images per row to 3

Why will only one image show?

Thanks - Here is the product I am referring to:

http://www.makristababy.com/index.php?main_page=product_info&cPath=5&products_id=46

1 Sep 2008, 8:31 PM
#18
ajeh avatar

ajeh

Oba-san

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

Re: Multiple product images

What happens if you switch to Classic Template? Does it work now?

You appear to have some add-ons associated with images that may be preventing things from showing ...

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!

2 Sep 2008, 2:27 AM
#19
ferb avatar

ferb

New Zenner

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

Re: Multiple product images

I am trying to add multiple images to my site. I am attempting to follow the following line:

Admin->Catalog->Product Types->Product General->Edit Layout->Show Additional Images = 2

but can not find "show additonal images" is there another line that this would be under or another way that it would be stated?

Thank You!