-
Additional Product Images addon
This module is to falicitate the users to upload additional images easily without the hassle of chnaging the names and uploading seperately. this module works seperately without chnaging any core files, adds a option to upload addtional images for a product and show those images on the site.
Please let me know in case you find any difficulty.
http://www.zen-cart.com/downloads.php?do=file&id=1063
-
Re: Additional Product Images
I have had problems with additional images, tried this add on, apart from a minor glitch, rectified by the author, THIS WORKS GREAT, and is EASY to add, Compared to the others tried (that crashed htmlarea) this is a dream.
Only thing to improve would be image size, currently thumbnail, I am sure there is an easy way to make larger images.
Programmer is fast to respond, he has a winner here, recommend it to all.
Guy
-
Re: Additional Product Images
I should clarify this "additional images" means other programs to add more images, not to be confused with the title of this add on.
Quote:
Originally Posted by
Australian Caching
I have had problems with additional images, tried this add on, apart from a minor glitch, rectified by the author, THIS WORKS GREAT, and is EASY to add, Compared to the others tried (that crashed htmlarea) this is a dream.
Only thing to improve would be image size, currently thumbnail, I am sure there is an easy way to make larger images.
Programmer is fast to respond, he has a winner here, recommend it to all.
Guy
-
Re: Additional Product Images
yes the images can be bigger, you will have to set the size of the images from the admin panel. options Image - Additional Image Height, and Image - Additional Image Width and added in configuration->images, just set those..
Quote:
Originally Posted by
Australian Caching
I have had problems with additional images, tried this add on, apart from a minor glitch, rectified by the author, THIS WORKS GREAT, and is EASY to add, Compared to the others tried (that crashed htmlarea) this is a dream.
Only thing to improve would be image size, currently thumbnail, I am sure there is an easy way to make larger images.
Programmer is fast to respond, he has a winner here, recommend it to all.
Guy
-
Re: Additional Product Images
hello,
i don't see the option in the admin, where i upload the additional image ?
Thank you
-
Re: Additional Product Images
sorry i forgot a file in the /admin
It's working thx :cool:
-
Re: Additional Product Images
You can't click the image to enlarge it ??
-
Re: Additional Product Images
Clicked on Catalog -> Additional Product Images
I get this...
Illegal Access on a blank page?
-
Re: Additional Product Images
Quote:
Originally Posted by
mysty
You can't click the image to enlarge it ??
thats what i came here to ask, sort of useless to me without this.
Awesome add on otherwise.
-
Re: Additional Product Images
Hi guys.. I have installed this great mod but am getting the following error.
Warning: preg_match() [function.preg-match]: Unknown modifier 'p' in /home/mysite/public_html/testcart/admin/additional_images.php on line 232
I noticed a couple of others have the same problem but have not fixed yet.
I have double checked all the install files ... can't see what I have done wrong.
Any suggestions please?
Thanks
-
Re: Additional Product Images
Whenever I upload extra datafiles/adittional_images.php my admin turns completly blank. The site itself still works.
Any idea what the problem might be?
-
Re: Additional Product Images
Hi there,
I have just installed this mod and am getting the following error -
1146 Table 'table-prefix-is-here.TABLE_ADDITIONAL_IMAGES' doesn't exist
in:
[select additional_images_id, additional_image, status from TABLE_ADDITIONAL_IMAGES where products_id = '15' and status = '1']
Can anyone help me out with this?
Thanks
Matt
-
Re: Additional Product Images
Right it is all working now. Had to more the file in extra_datafiles/your-template to just extra_datafiles.
I really need the additional images to replace the main image when clicked. Does anyone know how to achieve this?
Thanks
Matt
-
Re: Additional Product Images addon
I've noticed a few questions on "click to enlarge" on additional images. Has anyone figured out how to do that? Also has anyone gotten this to work with Zen Lightbox? I assume I have to get the enlarge feature to work before getting Lightbox to work. I REALLY need this to work!
:dontgetit
I changed the settings on Configuration/images-additional images height and width but the images remain the same size. When I also set Image - Use Proportional Images on Products and Categories to off, the additional images resize but the main image doesn't show.
-
Re: Additional Product Images addon
I have uploaded all the files and installed the feature but cannot find the file tpl_product_info_default.php. It is not there? As a result I can upload pictures but they are not shown on my site. Do I have to create this file?
Thanks,
Andrew
-
Re: Additional Product Images addon
Hi Andrew,
I think it's supposed to be tpl_product_info_display.php
thanks
Matt
-
Re: Additional Product Images addon
Also why are all the sections saying product is disabled?
-
Re: Additional Product Images addon
Thanks. Does it matter where I put it in the file?
-
Re: Additional Product Images addon
Hi Andrew,
You simply place the code block wherever you want it to appear on the page.
Matt
-
Re: Additional Product Images addon
Matt,
Seems like you are the man with the answers. How can I get my additional pictures to have "Click to enlarge"? Or am I in the wrong thread for this question? Any help would be appreciated.
Eddie
-
Re: Additional Product Images addon
Hi Eddie,
haha odn't know about that...I have some answers but not all of them!
I gave up on this mod in the end as I too needed the images to enlarge so I went for the AJAX IMAGE SWAPPER it does the same thing except it has a scrollable thumbnail container and you upload in the admin section, it uses Fual Slimbox instead of lightbox but it looks the same.
You can get it here
and if you search for AJAX IMAGE SWAPPER in this forum there is an extensive support thread.
Good luck!
Matt
-
Re: Additional Product Images addon
I think I'll abandon it too, It seems to be messing with some of my other addons. Thanks Matt
-
Re: Additional Product Images addon
I have installed the "additional product images" and it is fabulous. Kudos! Question. I would like to add some additional images to products in the top category. I know there are images in the category yet in the administration under catalog/ additional images/ no products appear under the top category. There is an error message that says the category is disabled. What am I doing wrong? TIA TOm :cool:
-
Re: Additional Product Images addon
Help,
im having this error.
Additional Images
1146 Table 'sgspeer_zenc291.zen_additional_images' doesn't exist
in:
[select additional_images_id, additional_image, status from zen_additional_images where products_id = '0']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
-
Re: Additional Product Images addon
Hi everyone I have uploaded the Addon but I am a bit stuck. I saw someone say that the the file should be tpl_product_info_display.php I have put the code in but when I save it it get all jumbled up. Should I change the file permission? Also where would be the best place to put that code?
Could I put it near the main image coding? Does it matter where I put the code cause it seems like I am messing up the coding that is there. Please can someone help. I really would like to have this addon I sell magazines and this would come in handy for mor pics.
:cry: I need help
-
Re: Additional Product Images addon
Hi , where is the download link of this addon? i urgently need it. I have disabled the "Show additional images" option but i need an alternative. Hope this addon would help.
-
Re: Additional Product Images addon
In Free Addons, at top of this page.
I expect that if you have turned additional images off, the mod would also be turned off. Why have you disabled additional images if you need them? Are you getting unwanted images showing up? In that case, you just need to follow the additional image naming process correctly (see the tutorials).
https://www.zen-cart.com/tutorials/index.php?article=58
https://www.zen-cart.com/tutorials/i...hp?article=315
-
Re: Additional Product Images addon
Hi,
I have installed this mod and it works correctly however, in the title of the admin page 'catalog>Additional Product Images' I see the following headers
TABLE_HEADING_ID TEXT_PRODUCTS_IMAGE TABLE_HEADING_ACTION
Also in the list of products under the category the header is displayed as TEXT_ADDITIONAL_IMAGES
I am running version v1.3.9g
Any pointers would help please :o)
-
Re: Additional Product Images addon
You are missing several define statements, and probably one or more language files where the defines happen. Check that all of the mod's files were uploaded correctly.
-
Re: Additional Product Images addon
HELLO !!!
I seem to be having problems.. i followed the instructions and installed this addon...
also added the code into tpl_product_info_display
but where can i add the additional images? i still do not get it..
hope someone can help... newbie!!
-
Re: Additional Product Images addon
Hi, I also have uploaded this add on, added the patch, put the files in the root and changed the tpl_product_display under additional images section. But I can't see the option to add additional images. Please advise. Site is www.ew-trading.com. This is the first time I have tried to use add ons for zencart, I have added to my public_html file and also to my public_html_shop file in case that made a difference. In my admin panel when i go to Catalogue-Additinal images it says disabled. Might this be the problem. In the images section I have set to show 3 additional images. Many thanks in advance!
-
Re: Additional Product Images addon
What do you have for Catalog > Product Types > Product-General > edit layout > Show Product Additional Images? If that is off, turn it on and see what happens.
If the mod makes a link under Catalog named Additional Images, then you need someone who has used it to help you.
-
Re: Additional Product Images addon
Yes, that is on. Can no longer contact the guy who set up the site.
-
Re: Additional Product Images addon
When I entered the sql code, it showed the following:-
1062 Duplicate entry 'ADDITIONAL_SMALL_IMAGE_HEIGHT' for key 2
in:
[INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Image - Additional Image Height', 'ADDITIONAL_SMALL_IMAGE_HEIGHT', '100', 'The pixel height of small images', '4', NULL, NULL, '0001-01-01 00:00:00', NULL, NULL), (NULL, 'Image - Additional Image Width', 'ADDITIONAL_SMALL_IMAGE_WIDTH', '100', 'The pixel width of small images', '4', NULL, NULL, '0001-01-01 00:00:00', NULL, NULL);]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Anyone knows what is wrong?
-
Re: Additional Product Images addon
Hi,
I have been searching many threads for this random problem I found.
Zencart 1.3.9f
I installed additional product images, and it works great. I also installed Tabbed Products Pro and it also works great. See example here. It pulled in the additional images already associated with that product.
But it stopped working for some reason. I added some new products and uploaded their additional images. I checked their pages and the additional images don't show up. I checked in admin again, and the images show as being uploaded and the status is enabled. I checked all the config settings and they are correct in enabling additional images. However, they don't show up on the website. See page here. This problem only occurs for new products. The old products' images continue to display.
Another issue came up at the same time (maybe it will help determine the location of the problem). I noticed that the attribute image no longer replaces the main product image when selected. This happens with every product (new or old). I have never encountered this problem before, and I checked the attribute settings and they are correct.
Has anyone seen anything like this before? Can anyone suggest which files I should check for bugs?
Thank you,
Lindsay
-
Re: Additional Product Images addon
If you haven't changed any files or admin settings recently, you might want to check if your host has upgraded anything on your server. Once in a while a PHP/MySQL function that works for an older version changes in a newer version.
-
Re: Additional Product Images addon
These are my current versions:
PHP version 5.2.17
MySQL version 5.1.52
The cpanel doesn't show any messages about upgraded PHP or SQL. Do you know how I can tell? And do you have any other suggestions I can check out while I continue to follow up on this first suggestion?
Thank you,
Lindsay
-
Re: Additional Product Images addon
PHP v5.3.x would be cause for closer investigation, but your versions are unlikely to have anything to do with your problem.
-
Re: Additional Product Images addon
Hello everyone, does anyone know what strings to pull to make additional images line up vertically, not horizontally?
-
Re: Additional Product Images addon
The images are usually floated left so they will fit in a row, so removing the float should do it. Seeing your site will let us tell you the exact style rule to use.
-
Re: Additional Product Images addon
gjh42, thank you for the answer. Here's a sample page:
http://irispat.com/boutique/index.ph...products_id=73
It looks slightly different in different browsers. But the problem remains the same.
-
Re: Additional Product Images addon
The additional images are being controlled by the Column Divider Pro addon, which puts them into a layout table. There is no floating involved. Try setting the number of additional images per row to 1 in Configuration > Images > Product Info - Number of Additional Images per Row.
-
Re: Additional Product Images addon
I have additional_product_images_v2_0b installed on ZC v1.5, also have Image_Handler4_v4_0 installed.
Should the additional product images enlarge on click or hover. Mine don't, and I need to have them enlarge.
Any response would be helpful.
-
Re: Additional Product Images addon
OK, found the solution that works for me.
in configuration\images
make the
Image - Additional Image Width = Small Image Width
and
Image - Additional Image Height = Small Image Height
-
Re: Additional Product Images
I seem to be having problems..
I followed the instructions of (install.txt) and installed Ver 1.5.0 my zen-cart is 1.5.0.
but where can I add the additional images?
-
Re: Additional Product Images
Quote:
Originally Posted by
genesissystem
I seem to be having problems..
I followed the instructions of (install.txt) and installed Ver 1.5.0 my zen-cart is 1.5.0.
but where can I add the additional images?
:blush:can some body help me please.......:smile:
-
Re: Additional Product Images
I've just installed this on my test site and the images are showing up vertically, what do i need to do/change to have them in a row?
http://uat.lunatiktattoocare.com/ind...&products_id=2
Thanks
-
Re: Additional Product Images addon
Set Product Info - Number of Additional Images per Row to something above 1.
-
Re: Additional Product Images addon
I tried to upload and use this program and I installed the exact way as it was described but it did not work. So I went ahead and uninstalled it and after I ran the uninstall sql it messed up my product info display as you can see here on my site (link below). I am now missing my right side bar and the bottom of the page. Can someone help me? All the other pages still display correctly but product info pages no longer display the way they are supposed to.
Thank you,
https://www.schobookcollectibles.com...roducts_id=356 missing side and bottom bars
www.schobookcollectibles.com this is how it should look
-
Re: Additional Product Images addon
Yeah, you have a php error somewhere. Recheck what you did to install it amd uninstall it, or restore from the back up you made before you installed.
-
Re: Additional Product Images addon
I am running v1.5 and these are the problems I'm noticing:
First, in the instructions, "Delete the files in admin/includes/boxes/extra_boxes/" is not necessary. I don't think those folders exist in v1.5.
Next, what is up with the vertical alignment?? I tried going to Images > Product Info - Number of Additional Images per Row and changing it to something other than 1. But it still doesn't work.
And finally, the enlarge image option isn't available?? What good are these additional images if I can't enlarge them?
I will tinker with this code a little more but I'm very close to uninstalling...
-
Re: Additional Product Images addon
Okay, I got frustrated with this so I tried to uninstall it as well. Now I'm having the same problem as mentioned by schobook, the bottom of my product info display pages are not showing up correctly.
I'm not very impressed with this mod.
-
Re: Additional Product Images addon
Quote:
Originally Posted by
McCrockett
Okay, I got frustrated with this so I tried to uninstall it as well. Now I'm having the same problem as mentioned by schobook, the bottom of my product info display pages are not showing up correctly.
I'm not very impressed with this mod.
To make the footer appear again remove everything inside the \includes\templates\your_theme\templates\tpl_modules_additional_images.php file.
This mod is not working 100% for 1.5.0, thats for sure!
-
Re: Additional Product Images addon
Hi, I've just been trying to use this module without much success, the bottom and right hand side of the screen disappeared on me. However since searching the net for information, I've come across the fact that zencart is already catering for additional images quite nicely and it certainly works happily with lightbox enlarging the images. This page explains quite nicely how to do it - http://www.picaflor-azul.com/blog/?p=1005
-
Re: Additional Product Images addon
You're right BTaylor351. I just glanced at the link and it looks like it's referring to the default FTP method of adding additional images. That works fine. But for those of us who are customizing our Zencarts for a client or someone whose not familiar with website maintenance or FTP- another option is needed. I found that Image Handler 4 does everything that I needed. http://www.zen-cart.com/downloads.php?do=file&id=1380
Just a side note, I had to fix one bug with IH4. The product status could neither be enabled or disabled after installing IH4. But I think I was able to fix it with this post: http://www.zen-cart.com/showthread.p...04#post1117504
-
1 Attachment(s)
My Additional Images Click To Enlarge Link Fix
Took awhile but it is ready to go!
On 1.5.0 with the Additional Images module installed, the additional images show up without being clickable or able to enlarge; it only shows the thumbnail. (several posts about in this thread)
This is my workaround for them to be clickable and pop up when clicked in the lightbox frame.
The code comes directly from the latest version of the module itself, just moved some stuff around and added the "rel=" tag.
Currently only available for use with the LightBox plugin installed with it. Replace tpl_modules_additional_images.php with the attached file. Make sure you have lightbox installed and the additional images module or it may not work.
-
Re: My Additional Images Click To Enlarge Link Fix
Thanks for sharing your fix with the community.
As I mentioned earlier, if this fix is something that should be in the main plugin download, it might be good to touch base with the last person who updated the plugin and collaborate with them on submitting this fix, either as a joint submission or on your own, whatever works for both of you.
-
Re: Additional Product Images addon
I have tried all the tips that I read above but something still does not work for me.
I’ve got the “Catalogue-Additional images” under Admin and was able to upload an image.
But I noticed that in the box where I need to choose product for the additional image the products are marked with * like disabled, but there are enabled and could be seen from the site.
And after I upload an image it’s still not posted on the product page.
Any ideas what I have done wrong?
Thanks in advance
-
Re: Additional Product Images addon
After transferring all the files and adding the statement to 'tpl_product_info_display.php' the page goes blank except for the original imagine. I added the statement just after it.
My debug shows: [19-Nov-2012 12:13:30] PHP Fatal error: Call to a member function RecordCount() on a non-object in /home/content/90/8754790/html/store2013/includes/templates/classic/templates/tpl_modules_additional_images.php on line 22
I should note that when an additional image is added it also shows a thumbnail box with red X.
Any thoughts direction to work in?
-
1 Attachment(s)
Re: Additional Product Images addon
Hi Could anyone help? I am using ZenCart 1.3.9h. Everything was working ok and the product images are showing up, but when I go to upload images, the thumbnails are not clear.
Attachment 11886
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.
-
Re: Additional Product Images addon
Quote:
Originally Posted by
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.
-
Re: Additional Product Images addon
Has anybody installed this on version 1.5.1?
-
Re: Additional Product Images addon
Quote:
Originally Posted by
BushyTea
Has anybody installed this on version 1.5.1?
I'd also like to know this please
-
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
-
Re: Additional Product Images addon
Quote:
Originally Posted by
pewe
I have installed this in V1.5.1 - but have some issues.
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
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
}
?>
-
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.
-
Re: Additional Product Images addon
Which lightbox plugin are you referring to?...
-
Re: Additional Product Images addon
Quote:
Originally Posted by
chowardart
Which lightbox plugin are you referring to?...
The one found here. :wink:
-
Re: Additional Product Images addon
-
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?
-
Re: Additional Product Images addon
I know it's an old post but this called for a comment:
Quote:
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?...s-to-a-product
-
Re: Additional Product Images addon
Quote:
Originally Posted by
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
-
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
2. 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.
-
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....&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
-
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.
-
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.
-
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?ma...oducts_id=6523
-
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.)
-
Re: Additional Product Images addon
Quote:
Originally Posted by
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?
-
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.
-
Re: Additional Product Images addon
I haven't used this additional images mod myself, so you know more than me about its usage methods. If you have found ways that make it work, you should stick with them. I take it from your comments that uploading additional images with the mod without naming them like *_1.jpg etc. did not work?
-
Re: Additional Product Images addon
How can I set additional images in 3 rows they are all in one vertical line.
Number of Additional Images per Row set to 3 dont work. Please help
-
Re: Additional Product Images addon
Quote:
Originally Posted by
vescera
How can I set additional images in 3 rows they are all in one vertical line.
Number of Additional Images per Row set to 3 dont work. Please help
Add these 2 line to your stylesheet.css. I added this module to one of my clients site a while back and had the same problem.
#productAdditionalImages{display:inline;float:left;margin:0 auto;width:200px}
#productAdditionalImages img{margin-left:5px;margin-right:5px;display:inline;float:right}
-
Re: Additional Product Images addon
Quote:
Originally Posted by
countrycharm
Add these 2 line to your stylesheet.css. I added this module to one of my clients site a while back and had the same problem.
#productAdditionalImages{display:inline;float:left;margin:0 auto;width:200px}
#productAdditionalImages img{margin-left:5px;margin-right:5px;display:inline;float:right}
Thanx for info for me this give me more or less good result
Quote:
.additional-images {float: left; margin-right: 0.1em;}
.navNextPrevWrapper {clear: both;}
-
Re: Additional Product Images addon
Quote:
Originally Posted by
vescera
Thanx for info for me this give me more or less good result
Whatever worked for you..... :)
I know others had problems too getting it to show in rows so I wanted to share....
-
Re: Additional Product Images addon
Quote:
Originally Posted by
ianhg
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
}
?>
This working great but is there solution for next/previous button on additional images? THANX
-
Re: Additional Product Images addon
Quote:
Originally Posted by
vescera
This working great but is there solution for next/previous button on additional images? THANX
A link to your site would be great to see what going on.
-
Re: Additional Product Images addon
I WISH i had read here before INSTALLING THIS MOD, I can not uninstall it as it brakes my product page, and description vanishes of my product. sigh, and when i install image handler on top of it it also doesn't work :( sigh i don't know what to do, i am stuck with these non clickable images, seems like the creator of the plugin gave up on helping :(
-
Re: Additional Product Images addon
Quote:
Originally Posted by
countrycharm
Add these 2 line to your stylesheet.css. I added this module to one of my clients site a while back and had the same problem.
#productAdditionalImages{display:inline;float:left;margin:0 auto;width:200px}
#productAdditionalImages img{margin-left:5px;margin-right:5px;display:inline;float:right}
This is still showing vertical for me even though I have set the number per row in admin. Any ideas?
Doh sorted it now. How do I delete this reply?
-
Re: Additional Product Images addon
Help! I installed this mod and it never worked. So I uninstalled and removed the files. Now I got this error:
#1 require() called at [/xxxx/xxxx/public_html/morrisgiftshop.biz/includes/templates/template_default/templates/tpl_modules_additional_images.php:13]
#2 require(/xxx/xxxx/public_html/morrisgiftshop.biz/includes/templates/template_default/templates/tpl_modules_additional_images.php) called at [/xxxx/xxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_sheffield_blue/templates/tpl_product_info_display.php:83]
#3 require(/xxxx/xxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_sheffield_blue/templates/tpl_product_info_display.php) called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/pages/product_info/main_template_vars.php:178]
#4 require(/xxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/pages/product_info/main_template_vars.php) called at [/xxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php:251]
#5 require(/xxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php) called at [/xxxx/xxxx/public_html/morrisgiftshop.biz/index.php:97]
[24-May-2017 17:57:28 America/Chicago] PHP Warning: require(includes/modules/additional_images.php): failed to open stream: No such file or directory in /xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/template_default/templates/tpl_modules_additional_images.php on line 13
[24-May-2017 17:57:28 America/Chicago] Request URI: /victorian-verdigris-wind-chimes-p-185, IP address: 50.26.26.88
#1 require() called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/template_default/templates/tpl_modules_additional_images.php:13]
#2 require(/xxxx/xxxx/public_html/morrisgiftshop.biz/includes/templates/template_default/templates/tpl_modules_additional_images.php) called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_sheffield_blue/templates/tpl_product_info_display.php:83]
#3 require(/xxxxxx/xxxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_sheffield_blue/templates/tpl_product_info_display.php) called at [/xxxxxx/xxxxxx/public_html/morrisgiftshop.biz/includes/modules/pages/product_info/main_template_vars.php:178]
#4 require(/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/pages/product_info/main_template_vars.php) called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php:251]
#5 require(xxxxx/xxxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php) called at [xxxxx/xxxxxxx/public_html/morrisgiftshop.biz/index.php:97]
[24-May-2017 17:57:28 America/Chicago] PHP Warning: require(includes/modules/additional_images.php): failed to open stream: No such file or directory in /xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/template_default/templates/tpl_modules_additional_images.php on line 13
[24-May-2017 17:57:28 America/Chicago] PHP Fatal error: require(): Failed opening required 'includes/modules/additional_images.php' (include_path='.:/opt/php70/lib/php') in /xxxxx/xxxxxx/public_html/morrisgiftshop.biz/includes/templates/template_default/templates/tpl_modules_additional_images.php on line 13
Missing my Product Info Pages and my right side column. I am using Responsive Sheffield Blue Template. Please Help
-
Re: Additional Product Images addon
Quote:
Originally Posted by
wmorris
PHP Warning: require(includes/modules/additional_images.php): failed to open stream: No such file or directory
I am using Responsive Sheffield Blue Template.
includes/modules/additional_images.php
Re-upload the above file using either the original in Responsive Sheffield Blue Template or from default Zen Cart.
-
Re: Additional Product Images addon
How can we display additional upload on edit/create product page so additional images can be uploaded when creating or updating product?
-
Re: Additional Product Images addon
Quote:
Originally Posted by
jsarwar
How can we display additional upload on edit/create product page so additional images can be uploaded when creating or updating product?
Yes! I have created a brand new plugin to perform this exact function which will be available shortly.
Twitch Additional Product Images Admin for Mobile/Tablet/Desktop Upload
Please refer to the new module thread:
https://www.zen-cart.com/showthread....itional+images
Please note: The new module is NOT based on the module being discussed in this thread. I simply did not see a point in continuing with the original coding structure in this addon so, I started from scratch. If this Additional Product Images addon has features you want/need please continue to support further development.
-
Re: Additional Product Images addon
I'd forgotten that a little while ago I was asked to update this module for ZC 1.5.5 partially because in communication it took a little while to be notified of satisfaction of the changes. Anyways, just uploaded version 2.1 of the plugin:
Quote:
What's new in Version 2.1:
Modified only the ZC 1.5.x portion:
- Added an auto-installer.
- Moved majority of code to an observer.
- Supports presentation using the layout of the existing ZC template instead of what was previously developed.
- Modified plugin to support using the images of this plugin in addition to the additional images normally loaded through ZC, not just one or the other so now images of this plugin can be shown in addition to the standard additional images, instead of the additional images. The standard method is still available which means that the standard additional images will be displayed in the "html format" that was originally used.
- The sequence of the images can be altered such that the images of this plugin can be shown first or after other additional images of the plugin.
Once reviewed and approved it should be available here.
-
Re: Additional Product Images addon
Quote:
Originally Posted by
mc12345678
I'd forgotten that a little while ago I was asked to update this module for ZC 1.5.5 partially because in communication it took a little while to be notified of satisfaction of the changes. Anyways, just uploaded version 2.1 of the plugin:
Once reviewed and approved it should be available
here.
Version 2.1 has been reviewed and posted. It is available from here.
-
Re: Additional Product Images addon
Quote:
Originally Posted by
mc12345678
Version 2.1 has been reviewed and posted. It is available from
here.
For users that have upgraded to version 2.1.0, be advised that although the confirmation email of submitting the plugin does not identify what version designation I entered, I believe I submitted the plugin's version to include a v as a prefix. Regardless, because the v is currently present as the first character, currently when checking for an updated version the software is incorrectly reporting that a more up-to-date version is available.
I am requesting that the version information returned be modified to remove the v from the prefix of the version response to correct this. I will also be adding some notes into the installer as a reminder for anyone submitting an updated version when using that installer process on how to enter the information for future submissions...
-
Re: Additional Product Images
Fatal bug found: I installed this addon, but it does not worked. I have Zen Cart version 1.5.5. Error was in database. "Field 'category_id' doesn't have a default value". I changed it to null and now it works. Went many days to find the fault because Zen Card does not display error messages.
-
Re: Additional Product Images
Quote:
Originally Posted by
juvar
Fatal bug found: I installed this addon, but it does not worked. I have Zen Cart version 1.5.5. Error was in database. "Field 'category_id' doesn't have a default value". I changed it to null and now it works. Went many days to find the fault because Zen Card does not display error messages.
Mind identifying under what server configuration this issue was found?
Note, the category_id field doesn't even appear to be used; however, it does appear that it may have been added to possibly include the ability to add additional images to a category view. If so, that code didn't make it into the distribution.
As to the lack of "display" of error logs, that is correct error logs are not displayed by a vanilla install of Zen Cart, though if they are being generated they can be made available in the admin by the plugin display logs or can be seen by ftp to the server and review of the logs folder. If they are not being generated, then recommend beginning a new thread as that issue is not pertinent to this plugin.
-
Re: Additional Product Images
Quote:
Originally Posted by
mc12345678
Mind identifying under what server configuration this issue was found?
As to the lack of "display" of error logs, that is correct error logs are not displayed by a vanilla install of Zen Cart, though if they are being generated they can be made available in the admin by the plugin display logs or can be seen by ftp to the server and review of the logs folder. If they are not being generated, then recommend beginning a new thread as that issue is not pertinent to this plugin.
That is good to know. Thanks. Server information:
Apache Version: 2.4.37
PHP Version: 7.2.14
MySQL Version: 5.6.41
Architecture: x86_64
Operating System: linux
This is not only bug that needs to solve because this addon does not work at all. Second fatal bug is in additional_products_image.php on line 82. This line is wrong:
Code:
echo zen_draw_products_pull_down('products_id', 'size="10"', '', true, $_GET['products_filter'], true, true);
For some unknown reason there is extra parameters and that is why it does not render at all. It needs to be like this:
Code:
echo zen_draw_products_pull_down('products_id','',$_GET['products_filter']);
Here is reference for that:
https://www.zen-cart.com/docs/phpdoc...ucts_pull_down
Now I continue hard work and try to get my Zen Cart to work. This seems to be a part of normal workflow with Zen Cart. It is very buggy software... Anything does not work as expected. Good side is that it's easy to edit source code.
-
Re: Additional Product Images
Quote:
Originally Posted by
juvar
That is good to know. Thanks. Server information:
Apache Version: 2.4.37
PHP Version: 7.2.14
MySQL Version: 5.6.41
Architecture: x86_64
Operating System: linux
This is not only bug that needs to solve because this addon does not work at all. Second fatal bug is in additional_products_image.php on line 82. This line is wrong:
Code:
echo zen_draw_products_pull_down('products_id', 'size="10"', '', true, $_GET['products_filter'], true, true);
For some unknown reason there is extra parameters and that is why it does not render at all. It needs to be like this:
Code:
echo zen_draw_products_pull_down('products_id','',$_GET['products_filter']);
Here is reference for that:
https://www.zen-cart.com/docs/phpdoc...ucts_pull_down
Now I continue hard work and try to get my Zen Cart to work. This seems to be a part of normal workflow with Zen Cart. It is very buggy software... Anything does not work as expected. Good side is that it's easy to edit source code.
You might want to check your software installation as the file admin/additional_product_images.php uses the admin function zen_draw_products_pull_down that is located in admin/includes/functions/general.php which is defined as:
Code:
zen_draw_products_pull_down($name, $parameters = '', $exclude = '', $show_id = false, $set_selected = false, $show_model = false, $show_current_category = false) {
Don't know why it has been modified in your admin side.
Also, extra parameters do not cause a function to fail, having the wrong parameters lined up to the wrong inputs can cause a problem.