Forums / Basic Configuration / Using multiple images per product

Using multiple images per product

Views: 38,368

Results 21 to 40 of 53
12 Jul 2011, 12:26 PM
#21
oksoda avatar

oksoda

New Zenner

Join Date:
May 2009
Posts:
17
Plugin Contributions:
0

Using multiple images per product

sklim1:

Unfortunately, this is not working for me. When follow the direction below, it only replaces the image and additional images are not showing.

My site was working before the upgrade to 1.3.9h.

Is there a module where I can just install and get this working?

Any other suggestions?

Same issue here. I've been at this half a day with no joy.

Thanks.

13 Jul 2011, 12:52 AM
#22
gjh42 avatar

gjh42

Black Belt

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

Re: Using multiple images per product

If you follow the instructions mentioned exactly, it will absolutely work (unless your template does not allow additional images to display, or you have additional images turned off in Catalog > Product Types > Product-General > edit layout > Show Product Additional Images). So we need to know exactly what you did (file names, folder locations, link to see product...)

13 Jul 2011, 2:14 AM
#23
sklim1 avatar

sklim1

New Zenner

Join Date:
Jul 2011
Posts:
19
Plugin Contributions:
0

Re: Using multiple images per product

Yes, you were right. There was a problem with my template and even ftp upload didn't work. I needed a programmer's help and now fixed. Thanks.

gjh42:

If you follow the instructions mentioned exactly, it will absolutely work (unless your template does not allow additional images to display, or you have additional images turned off in Catalog > Product Types > Product-General > edit layout > Show Product Additional Images). So we need to know exactly what you did (file names, folder locations, link to see product...)

4 Feb 2012, 8:44 PM
#24
gre4ka avatar

gre4ka

New Zenner

Join Date:
Feb 2012
Posts:
9
Plugin Contributions:
0

Re: Using multiple images per product

Hello, people :)

Could anybody help me to make the following:

I using the colorbox for displaying larger images & slideshow when the product has multiply images.

I want to remove "additional images" thumbnails from the product page, but save the ability to show multiply images (as slideshow) via clicking on the main image (so the module "additional images" that finds and forms array of additional images for product should still work, but just not show itself or thumbnails on the product page). It saves space and w/o it the idea of slideshow is slightly corrupted.

I tried to play with constants in additional_images.php but haven't get any success.
Also tried to remove the block that showing the additional images from tpl_product_info_display.php and that not helps to. Because this way the additional images feel em like "disabled" and images array not forming and no slideshow is displaying - only single main image.

Thanks!

4 Feb 2012, 9:02 PM
#25
gjh42 avatar

gjh42

Black Belt

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

Re: Using multiple images per product

You need to tell us in more detail what "colorbox" is and where we can look at its code, if we are to have any hope of advising you on this. Seeing your site live will also help, as will knowing all modifications you have to image display or handling.

Okay, I found the Colorbox mod in Free Addons. Have you looked for its support thread? It should have one.

13 Feb 2012, 11:02 AM
#26
mr_pea avatar

mr_pea

Zen Follower

Join Date:
Jan 2005
Posts:
125
Plugin Contributions:
0

Re: Using multiple images per product

I was wondering if anyone else has had issues with the "Add to cart" button and the Social networking buttons getting caught underneath the multiple images? It is like the images are layered over those buttons.

31 Mar 2012, 11:26 AM
#28
gre4ka avatar

gre4ka

New Zenner

Join Date:
Feb 2012
Posts:
9
Plugin Contributions:
0

Re: Using multiple images per product

gjh42
Finally, I tryed to make it through editing php files, but it were too hard and useless, because I found much more simple way to make what I have to.

Colorbox - doesn't depend on version, etc. They works similar. The version is last available from the official site of this fine java script.

The solution (if anybody want to use the scripts like Colorbox or other that shows the slideshow with all linked product images) to hide additional images, that appears at the bottom of the product description and the "add to cart" box is very simple!

the CSS have simple feature to hide any element on any page just by adding "display: none" to the desired class.
I set this for the "additional images" class in the main CSS file, because I don't want additional images display as thumbnails anywere, I using colorbox, that starts slideshow in fine looking overlay window, or just displays single image, if there are no aditional images.

If anybody want to look it like I described and want to remove the additional images thumbnails while using the colorbox or similar script, you should modify yours main CSS file for the template you are currently use in the following way:

#productAdditionalImages {display:none;}

that's all :clap:

31 Mar 2012, 2:55 PM
#29
gjh42 avatar

gjh42

Black Belt

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

Re: Using multiple images per product

That's a common technique for hiding some element without editing PHP code. In some cases, it is a bad idea because it doesn't stop the processing, so pages may take longer than they need to load. If the processing is needed for the alternate Colorbox display to work, display: none; seems justified.

It should also be possible to just comment out the code that actually displays the images without affecting array generation.

6 Jun 2012, 10:41 PM
#31
ajeh avatar

ajeh

Oba-san

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

Re: Using multiple images per product

First, it looks like you have error(s) in the configure.php file in:
/includes/configure.php

as there are extra / in your URLs ...

Could you post, from the server, without the database username/password information, the file:
/includes/configure.php

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 Jun 2012, 3:45 PM
#32
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: Using multiple images per product

hi there
im just wondering, i have image "sl24-125.jpg" then "sl24-125_001.jpg" and then "sl124-125_002.gif"

is it possible for the .gif to be shown as an additional image alongside the jpg's???

if so how??

i may not know how yet, but i soon will....i hope :)

12 Jun 2012, 3:57 PM
#33
ajeh avatar

ajeh

Oba-san

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

Re: Using multiple images per product

You would need to to a lot of customization for that ...

The images are designed to work based on the base image name of the main image and the extension of the base image matching the Medium, Large, Additional and Additional Large images ...

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!

15 Jun 2012, 10:43 AM
#34
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: Using multiple images per product

just be easier to insert the image into the product text?

i may not know how yet, but i soon will....i hope :)

15 Jun 2012, 5:57 PM
#36
kobra avatar

kobra

Black Belt

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

Re: Using multiple images per product

Or use your graphic application and convert from gif to jpg

Zen-Venom Get Bitten

26 Feb 2013, 4:43 PM
#37
kanlyons avatar

kanlyons

New Zenner

Join Date:
Mar 2012
Location:
Baltimore, MD
Posts:
3
Plugin Contributions:
0

Re: Using multiple images per product

Mr.Pea:

I was wondering if anyone else has had issues with the "Add to cart" button and the Social networking buttons getting caught underneath the multiple images? It is like the images are layered over those buttons.

I was able to add multiple product images but the placement was at the bottom of the product page just above the Add to Cart button. Were you able to figure out how to move multiple images up to top of product page?

28 Feb 2013, 4:59 PM
#38
gjh42 avatar

gjh42

Black Belt

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

Re: Using multiple images per product

You would need to edit /includes/templates/your_template/templates/tpl_product_info_display.php and move the whole code block for additional images to the position in the file that matches the sequence you want. Then you can use CSS in your stylesheet to fine-tune it.

3 Nov 2013, 2:12 AM
#39
tinderbox avatar

tinderbox

New Zenner

Join Date:
Jun 2013
Location:
Perth Western Australia
Posts:
20
Plugin Contributions:
0

Re: Using multiple images per product

Hi Guys,

I have custom products that when I go to the Admin/catalogue/category/Product Type/Product Silver then edit layout the screen has no options (see pic), I was wondering if there was a way to add the options from General Product to my custom products? I would like to add multiple images tot he product but as is there is know way of doing so, thanks.

Attachment 13290

Regards
Steve

11 Nov 2013, 5:51 PM
#40
drbyte avatar

drbyte

Sensei

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

Re: Using multiple images per product

If you're truly adding NEW product-types, then you'll need to go into the database and clone some of the existing switch settings and of course rename your cloned key names and then in all your PHP code that uses them you'll need to put those keys there instead of the original ones.

Look at some of the existing product-type contributions/plugins to see the myriad files that are involved and the database inserts that will be needed.

However, in the main, most people rarely need to create a new product-type. So, a better starting point here would be to understand what your goals are, and how you arrived at the idea of creating new product-types for whatever those goals are.
There could be an easier way to do what you're after.

Of course, that's a broader discussion that takes this forum thread way off its initial topic.

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