Forums / General Questions / How to put more than one photo on a product

How to put more than one photo on a product

Locked

Views: 8,761

Results 1 to 20 of 46
This thread is locked. New replies are disabled.
12 Nov 2007, 4:18 AM
#1
cookie30 avatar

cookie30

New Zenner

Join Date:
Jul 2007
Posts:
15
Plugin Contributions:
0

How to put more than one photo on a product

I want to know how to have more than one photo for each product listing please.

12 Nov 2007, 11:30 PM
#3
cookie30 avatar

cookie30

New Zenner

Join Date:
Jul 2007
Posts:
15
Plugin Contributions:
0

Re: How to put more than one photo on a product

Thankyou but I don't understand all of that. I am not worried about different sizes of the same image. I run all of my photos through photoshop then insert them into each listing as I make it.
I want to be able to have say a front, back and side view of the one product in the one listing. When I make my product listing there is only space to insert one photo. How do I add more in? Can someone tell me in simple terms please?
I have already activated all multiple images and this didn't do anything.
Thanks Kylie

13 Nov 2007, 1:21 AM
#4
rufus avatar

rufus

Zen Follower

Join Date:
Sep 2007
Posts:
214
Plugin Contributions:
0

Re: How to put more than one photo on a product

Hi Kylie,

Basically all you need do is ftp your extra images to the same folder as the original image (that you added when creating your product listing), using image names that contain the original image name.

For example:

If your original image name (in your product listing) was dress0123.jpg

you could ftp the following to the same directory that you saved dress0123.jpg in when you created your product listing

dress1023_1.jpg
dress0123_2.jpg
dress0123_3.jpg

and they would show up when you viewed the item in product info

This is exactly what Glenn showed you, if you still do not understand please reply with what part is troubling you and I will try to explain further...

13 Nov 2007, 1:32 AM
#5
cookie30 avatar

cookie30

New Zenner

Join Date:
Jul 2007
Posts:
15
Plugin Contributions:
0

Re: How to put more than one photo on a product

Thankyou for your help. I will go and try it. I see now that the original answer was the same too but I read it wrongly.
I run all of my photos as dress 1,2,3,4,5 etc
then doll 1,2,3,4,etc
but they are for separate items not the same one. That's where I got confused. I just add the _1, _2 _3 etc to each photo instead and send it up.
Will let you know how it goes.

13 Nov 2007, 2:42 AM
#6
cookie30 avatar

cookie30

New Zenner

Join Date:
Jul 2007
Posts:
15
Plugin Contributions:
0

Re: How to put more than one photo on a product

Ok I have tried it and nothing worked.
I have been and checked where my photos are.
/public_html/zencart/images - They are in this folder all of my pics are.
I called my photos elmoset_1.jpg, elmoset_2.jpg and elmoset_3.jpg
_1 is the one that I loaded with my product info. I sent the other 2 up to this file. have just checked and all 3 are together in this file but when I look at my website only the first pic is showing.

http://sandkembroidery.com/zencart/index.php?main_page=product_info&cPath=34&products_id=1136

Here is the item.

Have I done something wrong. Do you know how to fix it please?
Thanks Kylie

13 Nov 2007, 2:49 AM
#7
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: How to put more than one photo on a product

You are naming the images incorrectly.

The main image should be named elmoset.jpg
Second image should be elmoset_01.jpg
Third image, elmoset_02.jpg

13 Nov 2007, 3:07 AM
#8
cookie30 avatar

cookie30

New Zenner

Join Date:
Jul 2007
Posts:
15
Plugin Contributions:
0

Re: How to put more than one photo on a product

Ok all fixed. Thankyou so much for your help.
Now for one last question. At the moment the pics are right at the bottom. Can they be moved to be up the top with the other photo?

13 Nov 2007, 5:18 AM
#9
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: How to put more than one photo on a product

Find the file tpl_product_info_display.php and find this snippet of code:

<!--bof Additional Product Images -->
<?php
/**
 * display the products additional images
 */
  require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
<!--eof Additional Product Images -->

And move it up to just below this:

<!--bof Main Product Image -->
<?php
  if (zen_not_null($products_image)) {
  ?>
<?php
/**
 * display the main product image
 */
   require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>
<?php
  }
?>
<!--eof Main Product Image-->
26 Nov 2007, 10:57 PM
#11
gjh42 avatar

gjh42

Black Belt

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

Re: How to put more than one photo on a product

The main image displaying on your site is BR125_01.jpg.
This should be the name of your additional image.

How did you load these two images? If you loaded them through the admin product entry page, the last image loaded will be treated as the main image. If this has the _01 suffix, Zen Cart will look for files that have something more added to that and will not recognize BR125.jpg as belonging to that product.

You can load them all through the product page, but you must load the base/main image last.

27 Nov 2007, 6:16 PM
#12
jchavoush avatar

jchavoush

New Zenner

Join Date:
Sep 2007
Posts:
10
Plugin Contributions:
0

Re: How to put more than one photo on a product

cheers 4 ur reply but ive uploaded the br125.jpg again through the admin and i still dont get the other image come up, why is this, is there any settings i need 2 activate or anything?

27 Nov 2007, 6:29 PM
#13
gjh42 avatar

gjh42

Black Belt

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

Re: How to put more than one photo on a product

There is a setting to activate additional images in admin. It should be on by default, but yours might have gotten turned off.
Catalog > Product Types > Product-General > edit layout > Show Product Additional Images

27 Nov 2007, 6:52 PM
#14
jchavoush avatar

jchavoush

New Zenner

Join Date:
Sep 2007
Posts:
10
Plugin Contributions:
0

Re: How to put more than one photo on a product

ye thats activated still no luck :( im gonna cry soon

27 Nov 2007, 8:24 PM
#15
rufus avatar

rufus

Zen Follower

Join Date:
Sep 2007
Posts:
214
Plugin Contributions:
0

Re: How to put more than one photo on a product

Hi, would I be right in saying that your site is a template monster template?

Their templates do appear to have a few issues, of which this may be one.

Take a look in catalog\includes\templates\yourtemplate\templates\tpl_product_info_display.php and see if the following block exists. (I can see the place markers in the source code but that doesn't gaurantee their is anything between them)

<!--bof Additional Product Images -->
<?php
/**
 * display the products additional images
 */
  require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
<!--eof Additional Product Images -->
2 Dec 2007, 7:59 PM
#17
tanik avatar

tanik

New Zenner

Join Date:
Oct 2007
Posts:
63
Plugin Contributions:
0

Re: How to put more than one photo on a product

RuFuS:

Hi, would I be right in saying that your site is a template monster template?

Their templates do appear to have a few issues, of which this may be one.

Take a look in catalog\includes\templates\yourtemplate\templates\tpl_product_info_display.php and see if the following block exists. (I can see the place markers in the source code but that doesn't gaurantee their is anything between them)

<!--bof Additional Product Images --> <?php /** * display the products additional images */ require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?> <!--eof Additional Product Images -->


OK, I was reading and i got my page to show multiple images. But now the base image is on the left and the additional image is in the center. How do i get that additional image out of the center and next to the base image on the left? I check some of the codes on other pages but I dont see anything that would center that image. please help. thx
2 Dec 2007, 9:51 PM
#19
rufus avatar

rufus

Zen Follower

Join Date:
Sep 2007
Posts:
214
Plugin Contributions:
0

Re: How to put more than one photo on a product

You just need to use css to style them the way you want to.

For example, if you wanted to move them under the main image you could do something like:

#productAdditionalImages {
clear:both;
}
7 Dec 2007, 7:09 AM
#20
mcpisik avatar

mcpisik

Zen Follower

Join Date:
Jan 2007
Location:
Mount Maunganui, New Zealand
Posts:
417
Plugin Contributions:
0

Re: How to put more than one photo on a product

RuFuS:

Take a look in catalog\includes\templates\yourtemplate\templates\tpl_product_info_display.php and see if the following block exists. (I can see the place markers in the source code but that doesn't gaurantee their is anything between them)

<!--bof Additional Product Images --> <?php /** * display the products additional images */ require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?> <!--eof Additional Product Images -->
 
Hi,
I'm having same trouble, and my tp monster section is exactly how you have shown here. Which part is the block (newbie) and is your example with the block or is it correct to show additional images?
Thanks! :)