Re: Image Handler 2 Support
Quote:
Originally Posted by
ctcentralinfo
If you right click on the images both missing & there you will see that they all still refer to the "images" directory and not to the IH2 bmz* directories.
The small images are all gone, hope you have a backup.
It also looks like IH2 is not installed correctly or not installed in admin.
Check & reinstall IH2
Also don't allow IH2 to move images from "images/original" to "images" as when I do it, they just get deleted.
Re: Image Handler 2 Support
I have installed Image Handler on 3 web sites on my laptop. The first install is running fine. 2 subsequent installations will not let me login into admin! I get the following errors:
Site A:
Warning: require_once(C:/XYZ/AAAA/BBB/CliveKay2007/includes/functions/extra_functions/functions_bmz_image_handler.php) [function.require-once]: failed to open stream: No such file or directory in C:\XYZ\AAAA\BBB\CliveKay2007\admin\includes\functions\extra_functions\functions_ bmz_image_handler.php on line 12
Fatal error: require_once() [function.require]: Failed opening required 'C:/XYZ/AAAA/BBB/CliveKay2007/includes/functions/extra_functions/functions_bmz_image_handler.php' (include_path='.;C:\Program Files\xampp\php\pear\') in C:\XYZ\AAAA\BBB\CliveKay2007\admin\includes\functions\extra_functions\functions_ bmz_image_handler.php on line 12
or B
Fatal error: Cannot redeclare bmz_clear_cache() (previously declared in C:\XYZ\AAAA\BBB\CliveKay\admin\includes\functions\extra_functions\functions_bmz_ io.php:15) in C:\XYZ\AAAA\BBB\CliveKay\includes\functions\extra_functions\functions_bmz_io.php on line 17
Re: Image Handler 2 Support
In the code you sent you have a typo here:
handler.ph p
Check and see why the space is in the php extension
Re: Image Handler 2 Support
re: I see it works now.
Took me ages to find that out as well.
Should be put in a faq somewhere.
maybe this thread will help those in the future.. i read through until i was blue in the face. Again, I appreciate your help.
Re: Image Handler 2 Support
Hi gilby
I read your post above and I am interested in how I would prevent IH2 from move images from "images/original" to "images" as when I do it, they just get deleted. (Same things as CTCentral is experiencing)
Also can you confirm that IH2 moves all images in the BMZ directory? (I assume thats what the Check for old versions of IH link does in Admin - not sure what the cache option does.)
Cheers
Brinley
Re: Image Handler 2 Support
Quote:
Originally Posted by
Picci
In the code you sent you have a typo here:
handler.ph p
Check and see why the space is in the php extension
this is what's in the file (I have not changed anything in it)
<?php
/**
* functions_bmz_image_handler.php
* call to include IH2 functions from catalog
*
* @author Tim Kroeger <tim AT breakmyzencart DOT com>
* @copyright Copyright 2005-2006 breakmyzencart.com
* @license http://www.gnu.org/licenses/gpl.txt GNU General Public License V2.0
* @version $Id: functions_bmz_image_handler.php,v 1.4 2006/05/01 12:11:47 tim Exp $
*/
require_once(DIR_FS_CATALOG . DIR_WS_FUNCTIONS . 'extra_functions/functions_bmz_image_handler.php');
global $ihConf;
$ihConf['dir']['admin'] = preg_replace('/^\/(.*)/', '$1', (($request_type == 'SSL') ? DIR_WS_HTTPS_ADMIN : DIR_WS_ADMIN));
Re: Image Handler 2 Support
I've just started playing the IH2 and, so far, it's pretty impressive! The image quality on the site in my sig needs to be improved and I think IH2 will help in that respect, but I don't seem to be able to get the hover feature working. I'm testing IH2 elsewhere and the watermarks and resizing work perfectly, but I don't get an image when I hover over the small image. I get the product name, so that's got to be a clue. Any ideas? Once I get that sorted, I'll start using it for the live site.
If this has been asked/answered before, I apologize for asking again, but I couldn't find it in the documentation and this thread is over 50 pages! :shocking:
Re: Image Handler 2 Support
Afo, similiar problem..using ZenCart 1.37..working fine using Firefox,
but not IE6 or 7..using latest IH2 download dated 16.09.2006..
have installed 4 times..but as working in firefox, me thinks a javascript
problem is reason re IE
:lamo:
Re: Image Handler 2 Support
Quote:
Originally Posted by
misty
Afo, similiar problem..using ZenCart 1.37..working fine using Firefox,
but not IE6 or 7..using latest IH2 download dated 16.09.2006..
have installed 4 times..but as working in firefox, me thinks a javascript
problem is reason re IE
:lamo:
It's not working in IE or FF for me, so that's not the problem. I get the watermark and the zoom overlay, but no image on hover.
Re: Image Handler 2 Support
Quote:
Originally Posted by
welshop.com
Hi gilby
I read your post above and I am interested in how I would prevent IH2 from move images from "images/original" to "images" as when I do it, they just get deleted. (Same things as CTCentral is experiencing)
Also can you confirm that IH2 moves all images in the BMZ directory? (I assume thats what the Check for old versions of IH link does in Admin - not sure what the cache option does.)
Cheers
Brinley
IH2 will not move images from "images/original" to "images" unless you allow it to. Don't do it as It doesn't work right.
I manually use ftp to move them.
From what I can work out IH2 resizes the images in the "images" directory and caches them in the bmz* directories.
It will also resize & cache the medium & large images providing you don't already have medium & large images in the "medium" & "large" directories.
If you have you will have to delete them (I saved them to a different directory, just in case) before IH2 will create & cache them.
This part is logical really as it allows you to use a different image for the med & lge images
Clearing the cache does exactly that, it deletes all the cached images, forcing them to be recreated next time they are accessed. You need to this if you are playing with the image sizes as IH2 creates unique names for each image size and you will end up with lots of different size images that need to be cleaned out.