Forums / Customization from the Admin / How to add more images on a product page?

How to add more images on a product page?

Locked

Views: 1,691

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
30 Jul 2009, 2:46 PM
#1
hara avatar

hara

Zen Follower

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

How to add more images on a product page?

Please advise how to add more images and pages menu on a product description page?

Thank in advance.

30 Jul 2009, 3:28 PM
#3
hara avatar

hara

Zen Follower

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

Re: How to add more images on a product page?

Any site link so I can see if it is what I want?

BTW, how to get extra pages by adding menu for a product description page from Admin?

thanks!

30 Jul 2009, 4:10 PM
#4
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: How to add more images on a product page?

What this does is add extra images to the product_info page.

They are thumbnails and usually go at the bottom of the page but with a bit of editing of the file and some css they could go anywhere on the page.

Ill send you a link to a page on a test server by PM. It is the way that zen cart makes it work with no formatting. Many sites have formatted them to look great but I have no sites that use aditional images.

I am not sure I understand exactly what you want with the other question. Perhaps you could explain a bit more what exactly you are trying to achieve.

Nick
iszent.com

1 Aug 2009, 5:33 PM
#5
hara avatar

hara

Zen Follower

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

Re: How to add more images on a product page?

So, how to have Text above thumbnails image for brief name image content?

When click on the thumbnail image, Is it possible to get enlarge HTML or PDF popup page, instead of enlarger image?

Thanks in advance.

1 Aug 2009, 9:01 PM
#6
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: How to add more images on a product page?

Well, it is possible. You would need to edit the file includes/modules/yourtemplate/additional_images.php.

For the link you are looking at editing the lines:

    $large_link = zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL, 'pID=' . $_GET['products_id'] . '&pic=' . $i . '&products_image_large_additional=' . $products_image_large);

to create a link to your file rather than the large images. It is possible but would take some thought about how to create individual links for each picture.

Getting text above each image is going to be trickier. Somewhere, you are going to have to create an array of all the various captions. If you are hoping to do that through admin it is going to need to be some heavy weight coding. You could build the array at the top of this php file but every time you added a picture you would need to re-code this file....

Nick
iszent.com

2 Aug 2009, 8:34 PM
#7
hara avatar

hara

Zen Follower

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

Re: How to add more images on a product page?

Thank you Nick.
Create hyperlink text on the page also solved part of my concerns.