Zen Cart Logo
Forums / Addon Admin Tools / Additional Product Images addon

Additional Product Images addon

Views: 36,161

Results 61 to 80 of 114
4 Feb 2013, 7:33 PM
#61
drbyte avatar

drbyte

Sensei

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

Additional Product Images addon

dharrison:

When I look at the thumbnail images are simply reading: images/additional/Red-1.jpg and no URL.

Please help. Where can I change this setting? I get the same problem trying to view the Online Catalog link form the Admin panel.
The images shouldn't need a URL if a relative path is supplied.

Sounds like your admin configure.php file has invalid HTTP_CATALOG_SERVER, HTTPS_CATALOG_SERVER, DIR_WS_CATALOG, DIR_WS_HTTPS_CATALOG and DIR_FS_CATALOG settings.

.
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 2013, 1:49 AM
#62
bushytea avatar

bushytea

New Zenner

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

Re: Additional Product Images addon

Has anybody installed this on version 1.5.1?

16 Aug 2013, 10:21 PM
#63
therummagehole avatar

therummagehole

New Zenner

Join Date:
May 2012
Location:
Tamworth, United Kingdom
Posts:
24
Plugin Contributions:
0

Re: Additional Product Images addon

BushyTea:

Has anybody installed this on version 1.5.1?

I'd also like to know this please

2 Nov 2013, 1:29 AM
#64
pewe avatar

pewe

Zen Follower

Join Date:
Aug 2006
Posts:
134
Plugin Contributions:
0

Re: Additional Product Images addon

I have installed this in V1.5.1 - but have some issues.

Uploading works but -

  1. The additional image thumbnails are shown in a 1 column list at the end of the relevant product page - even though the config/images table is set to 3 images per row.

  2. Clicking the thumbnails does nothing (ie does not show the enlarged images.)

Has anyone got this to work yet, and if so any ideas what may be causing my problems??

Thanks

6 Nov 2013, 5:10 PM
#65
ianhg avatar

ianhg

Zen Follower

Join Date:
Jul 2007
Posts:
345
Plugin Contributions:
3

Re: Additional Product Images addon

pewe:

I have installed this in V1.5.1 - but have some issues.

  1. Clicking the thumbnails does nothing (ie does not show the enlarged images.)

Has anyone got this to work yet, and if so any ideas what may be causing my problems??

Thanks
Have you tried looking into this:
Add to tpl_modules_additional_images.php thanks to Brandon Walters

require(DIR_WS_MODULES . zen_get_module_directory('additional_images.php'));
?>

<?php if ($additional->RecordCount() > 0) { ?> <div id="productAdditionalImages"> <!-- Fix for broken click to enlarge - Brandon Walters <http://www.bwaltdesigns.com> --> <?php while(!$additional->EOF) { echo '<div class="additional-images"><a href="images/' .$additional->fields['additional_image']. '" rel="lightbox">'.zen_image(DIR_WS_IMAGES . $additional->fields['additional_image'], '', ADDITIONAL_SMALL_IMAGE_WIDTH, ADDITIONAL_SMALL_IMAGE_HEIGHT).'</a></div><br/>'; $additional->MoveNext(); } ?> </div> <?php } ?>
7 Nov 2013, 5:18 PM
#66
pewe avatar

pewe

Zen Follower

Join Date:
Aug 2006
Posts:
134
Plugin Contributions:
0

Re: Additional Product Images addon

Sorry for the delayed response - didn't see the notification email.

I have in the last few days done some more work on my site and in doing so discovered that an Additional Images facility is already built in to V1.5 - and it works well with the lightbox plugin too, so all sorted.

Thanks for the input.

7 Nov 2013, 9:58 PM
#67
chowardart avatar

chowardart

New Zenner

Join Date:
Apr 2013
Location:
Florida
Posts:
57
Plugin Contributions:
0

Re: Additional Product Images addon

Which lightbox plugin are you referring to?...

7 Nov 2013, 10:27 PM
#68
pewe avatar

pewe

Zen Follower

Join Date:
Aug 2006
Posts:
134
Plugin Contributions:
0

Re: Additional Product Images addon

chowardart:

Which lightbox plugin are you referring to?...

The one found here. :wink:

8 Nov 2013, 2:40 PM
#69
chowardart avatar

chowardart

New Zenner

Join Date:
Apr 2013
Location:
Florida
Posts:
57
Plugin Contributions:
0

Re: Additional Product Images addon

Thanks!

28 Jan 2014, 3:04 PM
#70
congerman avatar

congerman

Zen Follower

Join Date:
Oct 2008
Posts:
392
Plugin Contributions:
0

Re: Additional Product Images addon

Hi, I am trying to install this mod on 1.3.9d follow all instructions but all it does is stop additional images from showing, I just get white space. I have installed on 1.5.1 and it works fine

Will it work on 1.3.9d or does it have to be 1.3.9h?

28 Jan 2014, 5:35 PM
#71
gjh42 avatar

gjh42

Black Belt

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

Re: Additional Product Images addon

I know it's an old post but this called for a comment: > I have in the last few days done some more work on my site and in doing so discovered that an Additional Images facility is already built in to V1.5 Additional images have been built into Zen Cart for the last ten years... there is nothing new in v1.5 for them. This mod just makes a different way to use them, which may be easier for some to understand. Just in case anyone was confused or didn't know how to use them...
http://www.zen-cart.com/content.php?100-how-do-i-add-multiple-images-to-a-product

28 Jan 2014, 6:55 PM
#72
congerman avatar

congerman

Zen Follower

Join Date:
Oct 2008
Posts:
392
Plugin Contributions:
0

Re: Additional Product Images addon

Congerman:

Hi, I am trying to install this mod on 1.3.9d follow all instructions but all it does is stop additional images from showing, I just get white space. I have installed on 1.5.1 and it works fine

Will it work on 1.3.9d or does it have to be 1.3.9h?

Fixed it My dreamweaver wasn't putting one of the files for some reason

Great mod

14 Jul 2014, 10:13 AM
#73
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,717
Plugin Contributions:
56

Re: Additional Product Images addon

Suggestion for this mod:

  1. The file

includes/modules/additional_images.php

should be in

includes/modules/YOUR_TEMPLATE/additional_images.php

  1. In step 3 (adding in the require for /tpl_modules_additional_images.php), note that this might already be in your tpl_product_info_display.php file.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

18 Jul 2014, 9:33 AM
#74
lavendersblue avatar

lavendersblue

New Zenner

Join Date:
Mar 2011
Posts:
22
Plugin Contributions:
0

Re: Additional Product Images addon

Hi all
I have installed this add-on and it works great except the images are all over the place on my product page, see here;

http://thecandleandcardco.com/index.php?main_page=product_info&cPath=1_3_53&products_id=4

I have changed the Number of Additional Images per row to 5 but still the same problem. My images are sized at 250 high x 200 wide, otherwise they are too small to see. Any help would be appreciated as I don't want to have to uninstall this and add something else, it works great apart from this layout problem.

Thanks Kim

26 Jul 2014, 8:58 PM
#75
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,717
Plugin Contributions:
56

Re: Additional Product Images addon

You have the additional image block of code multiple times in your template. Just search the file

includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php

for "additional" (case insensitive) and you'll see what I mean.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

9 Sep 2014, 4:39 PM
#76
jokkah avatar

jokkah

New Zenner

Join Date:
Aug 2014
Location:
Northern Virginia
Posts:
81
Plugin Contributions:
0

Re: Additional Product Images addon

Module is completely not working on 1.5.3

Installed according to instructions, was able to access admin area for additional images, when at the final step for uploading additional image for particular item, page throws an error.

WARNING: An Error occurred, please refresh the page and try again.

Uninstalling this mod, it's incomplete and not updated.

10 Sep 2014, 10:44 PM
#77
dataripple avatar

dataripple

New Zenner

Join Date:
Sep 2014
Location:
Kamloops
Posts:
3
Plugin Contributions:
0

Re: Additional Product Images addon

Hello, I would really appreciate some help with this addon.

I'm using Zen Cart v1.5.1 and have installed the Additionial Images addon. I can add more images under Catalog -> Additional Images but they're not showing up on the website with the product that I have uploaded them for..

I think I might be doing something wrong with Step 3 of the installation instructions? It says to copy the code to the tpl_product_info_display.php but that exact line of code is already within the php file. Being....

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

I have the Number of Additional Images per Row set to 3.

I have Show Product Additional Images = 1 for true.

Any help with this or as to why they're not displaying on the website would be really appreciated, I'm at a loss as to what I am doing wrong here. I have double checked the installation, file by file, everything was copied over into the correct folders. I believe it's something to do with Step 3, which I'm confused about.

Here is a link to the product that I added two additional images for, using the addon but are not showing up..
http://globalvintage.ca/index.php?main_page=product_info&cPath=40&products_id=6523

11 Sep 2014, 5:28 AM
#78
gjh42 avatar

gjh42

Black Belt

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

Re: Additional Product Images addon

As swguy noted just a few posts back in this thread, the require for tpl_modules_additional_images.php may already be in your copy of tpl_product_info_display.php. In fact, it will be there unless you have a customized version of the file which omits it.

Did you ever try to use the stock method of displaying additional images? What results did you have, specifically? Give an example of actual filenames you used for main and additional images. (I don't know if this mod disables the stock method of recognizing additional images; if so, you would not be able to test the stock method now.)

11 Sep 2014, 5:12 PM
#79
dataripple avatar

dataripple

New Zenner

Join Date:
Sep 2014
Location:
Kamloops
Posts:
3
Plugin Contributions:
0

Re: Additional Product Images addon

gjh42:

Did you ever try to use the stock method of displaying additional images? What results did you have, specifically?

Thank you for responding and for the code enlightenment.

My trial and errors this morning...

  1. Tried the stock method and it worked in adding two more images by using the *_1.jpg, *_2.jpg method. They appeared as smaller thumbnails directly under the "main" image and nicely lined up in a row.

  2. With a different product that had no images, I tried adding all of the images using the Additional Images addon - so the main image file and the others named *_1.jpg, *_2.jpg. None of these showed up for that product.

  3. Then with another different product I uploaded the "main" image the stock way and then added more images using the Additional Images addon along with the file naming of *_1.jpg, *_2.jpg... That worked.

So is this how it's supposed to work?

You have to still name additional images for a product the stock way with the same name beginning, followed by _1.jpg etc.. ?

You need to first upload the 'main' image the stock way before using Additional Images to add more?

11 Sep 2014, 5:32 PM
#80
dataripple avatar

dataripple

New Zenner

Join Date:
Sep 2014
Location:
Kamloops
Posts:
3
Plugin Contributions:
0

Re: Additional Product Images addon

Just to further add... I found if a product already had one "main" image within another folder adding more with Additional Images didn't work, even with the *_1.jpg file naming as those would end up in the "additional" folder with the main image elsewhere.