Re: Image Handler 2 Support
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.
Re: Image Handler 2 Support
Is it only the includes/templates/custom folder I need to use the override system for this?
Re: Image Handler 2 Support
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?
Re: Image Handler 2 Support/moving additional images
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 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 -->
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!!!!!!!!
Re: Image Handler 2 Support/moving additional images
Where did you put it to get directly under the main image? Save me the hassle ;)
Re: Image Handler 2 Support
Yay,
There is a contrib. for that, "Additional images relocated with CSS", look in the download area.
Re: Image Handler 2 Support/moving additional images
Quote:
Originally Posted by
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-->)
Code:
<!--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:
Code:
<!--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
Re: Image Handler 2 Support
in IH use add image, it does ALL the work for you!!!
Quote:
Originally Posted by
wtashby
So I'm going to assume that no one actually has a clue how to make IH2 work with additional images?
Re: Image Handler 2 Support
wtashby
Glad to see that your additional images are showing up. Looks like you've resolved your problem.
John
Re: Image Handler 2 Support
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..