Can this modules work fine with IM2 or i must uninstall IM2?
Thanks you for you modules !
Can this modules work fine with IM2 or i must uninstall IM2?
Thanks you for you modules !
The greatest pleasure in life is doing what people say you cannot do.
Check on www.WebExtremeCustomiser.com for my modules (free contribution):
AJAX Image Swapper
AJAX Banner Swapper
Fixed Navigation
Well, I haven't actually tried that, but after I read about image handler's function, I think:
- Both of them work on different area, image handler 2 to resize your images, while image swapper to display the images. So I don't think they could disturb each other (you can install image swapper and your site would still work)
- However they won't work together, ie you won't be able to upload your images through image handler 2 and wish they would be available to view with image swapper.
- I believe the image hover functionality would work though.
- One workaround to number 2 is by uploading the images using image handler 2, then download the different sizes images from your server, then upload them again using image swapper *haven't been tested yet*
The greatest pleasure in life is doing what people say you cannot do.
Check on www.WebExtremeCustomiser.com for my modules (free contribution):
AJAX Image Swapper
AJAX Banner Swapper
Fixed Navigation
I'm using IM2 with AIS (Ajax Image Swapper) It works, but I had a lot of problems with it. The only feature I use for IM2 is making nice thumbnails, so everything else IM2 does, I have disabled or removed.
I installed AIS on top of IM2. It took a bit of tweaking, but I have both working simultaneously. They are not working together - when you load the images through AIS, the images aren't resized and sampled by IM2. Having the two integrated would be great. eg: uploading an image through AIS and having it resized, sampled and appropriate image size created.
If you do install AIS with IM2 and need to peek at some files, let me know. If you get them working together, let me know![]()
The greatest pleasure in life is doing what people say you cannot do.
Check on www.WebExtremeCustomiser.com for my modules (free contribution):
AJAX Image Swapper
AJAX Banner Swapper
Fixed Navigation
Hi, following that message, here I post how to make your product info page able to switch between AIS and normal Zen-Cart view. I don't include this as an update since this method would make installation steps a bit harder, which I really don't want to do.
Here it goes:
Cheers,
- Go to your includes/templates/YOUR_TEMPLATE/templates/tpl_modules_ajax_image_viewer.php file, cut this line of code from there:
Code:<?php include(DIR_WS_MODULES . 'AJAX_image_swapper.php'); ?>- Then go to tpl_product_info_display.php file, and paste that code block on top of the page
- find:
replace it with:Code:require($template->get_template_dir('/tpl_modules_ajax_image_viewer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_ajax_image_viewer.php');?>Code:if ($opt_id_used == null) require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); else require($template->get_template_dir('/tpl_modules_ajax_image_viewer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_ajax_image_viewer.php');?>- find:
replace it with:Code:require($template->get_template_dir('/tpl_modules_ajax_image_swapper_attr.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_ajax_image_swapper_attr.php'); ?>Code:if ($opt_id_used == null) require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); else require($template->get_template_dir('/tpl_modules_ajax_image_swapper_attr.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_ajax_image_swapper_attr.php'); ?>
Jay
The greatest pleasure in life is doing what people say you cannot do.
Check on www.WebExtremeCustomiser.com for my modules (free contribution):
AJAX Image Swapper
AJAX Banner Swapper
Fixed Navigation
Works beautifully, but that's no surprise.
To make it all the pages look the same, whether that page is using AIS or IM2
go to OUR_TEMPLATE/tpl_modules_main_product_image.php and change the div ID to the one you're using for AIS,
Change the div to that of the AIS div. Then in Admin>Images, change the Product Info - Image Width to 300 and change the Info Product Info - Image Height to 380
Viola!
All your product images in AIS or regular look great!
I'm still trying to get AIS to take images from IM2, but I've gotten nowhere so far, if I get something working, I'll let you know
And I haven't even tried IM2 heheh
(btw shouldn't it be abbreviated IH ->Image Handler?o.O)
The greatest pleasure in life is doing what people say you cannot do.
Check on www.WebExtremeCustomiser.com for my modules (free contribution):
AJAX Image Swapper
AJAX Banner Swapper
Fixed Navigation
yes, I think so - doh!
I'm new to Zen, and I kept calling it image manipulator.
not enough coffee or sleep![]()