Totally Zenned
- Join Date:
- Feb 2006
- Posts:
- 594
- Plugin Contributions:
- 0
Image Handler 2 (for ZC v1.3.8 ONLY) Support
So I'm going to assume that no one actually has a clue how to make IH2 work with additional images?
Views: 2,510,672
Totally Zenned
So I'm going to assume that no one actually has a clue how to make IH2 work with additional images?
Zen Follower
wtashby:
So I'm going to assume that no one actually has a clue how to make IH2 work with additional images?
Not sure how many products you have with multiple images. I just picked one of your categories at random and found an additional image on 1 of the 7 products listed:
http://www.ashbysonline.com/all-surface-cordless-sweeper-p-410.html
If you let me know a product that should have an additional image but doesn't, give us URL to take a look.
John
Totally Zenned
http://www.ashbysonline.com/40-channel-cb-radio-p-547.html should have 3 additional images.
Zen Follower
musicfreer:
I just found that my IH does not work on the sidebox under Product info page
on the main page, it works well with every sidebox and center column, but in product info page, it does not have popup image when I hover the sidebox pic (eg. featured, new products...)
any idea?
thanks a lot in advance
my site:
https://www.locomolife.com/zen
Can anyone pls give me some help? any idea will be appreciated!
thanks!!
Totally Zenned
Maybe if I offered a little more info about the images themselves I might get a response:
The main image is:
cobra-76xtr.gif
The other three are:
cobra-76xtr-pkg.jpg
cobra-76xtr-2.jpg
cobra-76xtr-3.jpg
IH2 recognizes and picks up, and lists the additional images just fine but zencart does not. So, perhaps it isn't an IH2 problem but a zencart problem? Could I be posting in the wrong thread? If so, could some point me to the right thread, or offer the right fix? Please? Pretty please?
Totally Zenned
wtashby:
The other three are:
cobra-76xtr-pkg.jpg
cobra-76xtr-2.jpg
cobra-76xtr-3.jpg
Just a quick suggestion with the right syntax for ZC:
cobra-76xtr_01.jpg
cobra-76xtr_02.jpg
cobra-76xtr_03.jpg
Totally Zenned
So that suggests that extra images have to be named (formatted) and added manually, regardless of whether or not the supplier provides virtually identical names?
Totally Zenned
There is a ZC base name, IH2 will add names to your additional images based on that one.
You cannot name your base image cobra-76xtr-pkg.jpg and your additional cobra-76xtr-2.jpg, notice the pkg is missing, so's the underscore.
I suggest you do not attempt to rename your additionals at all and let IH2 do the job.
New Zenner
Is it only the includes/templates/custom folder I need to use the override system for this?
Totally Zenned
I finally seem to have it working. Don't know what I did, other than play with the file names a little.
I do have one other question though. Is there any way to place the additional images underneath the main image instead of at the bottom of the page?
Totally Zenned
Ok, I figured that one out. How to move the additional images where you want them. It's done in:
includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php
Look near the bottom, around line 168 for ```php
<!--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 -->
Highlite and copy that portion of code (ALL of it) and just past it anywhere in tpl_product_info_display.php you want it to appear (leave the origional line where it was so you can always revert back to the origional position). Paste and Undo, Upload and reload, Paste and Undo, Upload and reload until you are satisfied that you either love it or hate it. If you love it, then delete the one at the bottom of the page, upload and go!
But remember, KEEP AN UNTOUCHED COPY OF **tpl_product_info_display.php** SOMWHERE SAFE so if you mess up the one you are playing with, you still have the origional to keep your site safe and sound with. BACK UP BACK UP BACK UP!!!!!!!!
New Zenner
Where did you put it to get directly under the main image? Save me the hassle ;)
Totally Zenned
Yay,
There is a contrib. for that, "Additional images relocated with CSS", look in the download area.
Totally Zenned
monkeypeach:
Where did you put it to get directly under the main image? Save me the hassle ;)
I tried to put the addtional images directly under the primary image and it doesn't look too good. I put mine at the top like this, CLICK HERE, If you want to do that, you place the code like this: (note, code in RED is the code to move around, and is always "sandwiched between an <!--eof blah blah-->and a <!--bof blah blah-->)
<!--eof Prev/Next top position-->
<!--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 -->
<!--bof Main Product Image -->
However, if you insist on putting the additional images below the primary image, you would do it like this:
<!--eof Main Product Image-->
<!--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 -->
<!--bof Product Name-->
Hope that helps
Zen Follower
in IH use add image, it does ALL the work for you!!!
wtashby:
So I'm going to assume that no one actually has a clue how to make IH2 work with additional images?
Zen Follower
wtashby
Glad to see that your additional images are showing up. Looks like you've resolved your problem.
John
Totally Zenned
I'm really not a fan of the zen logic how to handle images.. What I'm trying to achieve is get rid of those annoying med and lrg extensions and only have productimage.jpg, productimage_detail.jpg, productimage_detail2.jpg etc.
Any help on this matter would be really appreciated..
Inactive
poosk:
I'm really not a fan of the zen logic how to handle images.. What I'm trying to achieve is get rid of those annoying med and lrg extensions and only have productimage.jpg, productimage_detail.jpg, productimage_detail2.jpg etc.
- I wouldn't use large images at all.. only the medium sized product images
- Additional images could be changed via mouseclick (I know there is a mod for this but it does not work with IH2 - at least i don't know how)
- What I'd need IH to do is to create thumbs just for the product listings etc..
Any help on this matter would be really appreciated..
The best way to add additional images is using the actual Image Handler interface as it will rename your images appropriately.
Keep in mind that you must keep your "Main Image" names from being to similar:
New Zenner
I sent all of the files over via FTP and ImageHandler is not listed under the Admin Tools menu. I tried a few times and also check the permissions. I am using the Silverfish Template.
Can anyone help?
Inactive
Hank3rd:
I sent all of the files over via FTP and ImageHandler is not listed under the Admin Tools menu. I tried a few times and also check the permissions. I am using the Silverfish Template.
Can anyone help?
You need to make sure you got all the files uploaded under the admin folder :shocking: pay special attention to the boxes folder in order to enable the link in the admin menu.
Fields marked required must be completed.
Tell staff why this post should be reviewed.