I see many people before got my same problem, since 2005 toward today... And no solution... I guess there's no solution to this problem...
Printable View
I see many people before got my same problem, since 2005 toward today... And no solution... I guess there's no solution to this problem...
Use large images as Image Handler makes small and medium from your large images.
I'm not sure why Gif would be in the address if it's a jpg but sounds like there might be a problem there.
You can go into your admin, configuration and images and change the filetype if it is a gif and it'll then work with Gif files.
Regarding your error message. Check the file image_handler.php is installed and in the correct folder.
I was able to find the answer to this question. The file to edit is /admin/includes/ih_manager.php. In my version, I changed lines 166-212.
Change the following (old code):
to (new code):Code:if ($check != 1) {
// check for destination directory and create, if they don't exist!
// Then move uploaded file to its new destination
// default image
if ($_FILES['default_image']['name'] != '') {
io_makeFileDir(DIR_FS_CATALOG_IMAGES.$data['defaultFileName']);
$source_name = $_FILES['default_image']['tmp_name'];
$destination_name = DIR_FS_CATALOG_IMAGES . $data['defaultFileName'];
if ( !move_uploaded_file($source_name, $destination_name) ) {
$messageStack->add( TEXT_MSG_NOUPLOAD_DEFAULT, "error" );
$check = 1;
}
}
// medium image
if ($_FILES['medium_image']['name'] != '') {
$data['mediumImgExtension'] = substr( $_FILES['medium_image']['name'],
strrpos($_FILES['medium_image']['name'], '.'));
$data['mediumFileName'] ='medium/' . $data['imgBaseDir']
. $data['imgBase']
. $data['imgSuffix'] . IMAGE_SUFFIX_MEDIUM
. $data['mediumImgExtension'];
io_makeFileDir(DIR_FS_CATALOG_IMAGES.$data['mediumFileName']);
$source_name = $_FILES['medium_image']['tmp_name'];
$destination_name = DIR_FS_CATALOG_IMAGES . $data['mediumFileName'];
if ( !move_uploaded_file($source_name, $destination_name) ) {
$messageStack->add( TEXT_MSG_NOUPLOAD_MEDIUM, "error" );
$check = 1;
}
}
// large image
if ($_FILES['large_image']['name'] != '') {
$data['largeImgExtension'] = substr( $_FILES['large_image']['name'],
strrpos($_FILES['large_image']['name'], '.'));
$data['largeFileName'] = 'large/' . $data['imgBaseDir']
. $data['imgBase']
. $data['imgSuffix'] . IMAGE_SUFFIX_LARGE
. $data['largeImgExtension'];
io_makeFileDir(DIR_FS_CATALOG_IMAGES.$data['largeFileName']);
$source_name = $_FILES['large_image']['tmp_name'];
$destination_name = DIR_FS_CATALOG_IMAGES . $data['largeFileName'];
if ( !move_uploaded_file($source_name, $destination_name) ) {
$messageStack->add( TEXT_MSG_NOUPLOAD_LARGE, "error" );
$check = 1;
}
}
}
As you can see, I added 3 chmod functions after each upload. You can change the permissions from 0755 to 0777 or whatever you want. If you want to check the version, the top of this file has the following:Code:if ($check != 1) {
// check for destination directory and create, if they don't exist!
// Then move uploaded file to its new destination
// default image
if ($_FILES['default_image']['name'] != '') {
io_makeFileDir(DIR_FS_CATALOG_IMAGES.$data['defaultFileName']);
$source_name = $_FILES['default_image']['tmp_name'];
$destination_name = DIR_FS_CATALOG_IMAGES . $data['defaultFileName'];
if ( !move_uploaded_file($source_name, $destination_name) ) {
$messageStack->add( TEXT_MSG_NOUPLOAD_DEFAULT, "error" );
$check = 1;
}
else
{
chmod($destination_name, 0755);
}
}
// medium image
if ($_FILES['medium_image']['name'] != '') {
$data['mediumImgExtension'] = substr( $_FILES['medium_image']['name'],
strrpos($_FILES['medium_image']['name'], '.'));
$data['mediumFileName'] ='medium/' . $data['imgBaseDir']
. $data['imgBase']
. $data['imgSuffix'] . IMAGE_SUFFIX_MEDIUM
. $data['mediumImgExtension'];
io_makeFileDir(DIR_FS_CATALOG_IMAGES.$data['mediumFileName']);
$source_name = $_FILES['medium_image']['tmp_name'];
$destination_name = DIR_FS_CATALOG_IMAGES . $data['mediumFileName'];
if ( !move_uploaded_file($source_name, $destination_name) ) {
$messageStack->add( TEXT_MSG_NOUPLOAD_MEDIUM, "error" );
$check = 1;
}
else
{
chmod($destination_name, 0755);
}
}
// large image
if ($_FILES['large_image']['name'] != '') {
$data['largeImgExtension'] = substr( $_FILES['large_image']['name'],
strrpos($_FILES['large_image']['name'], '.'));
$data['largeFileName'] = 'large/' . $data['imgBaseDir']
. $data['imgBase']
. $data['imgSuffix'] . IMAGE_SUFFIX_LARGE
. $data['largeImgExtension'];
io_makeFileDir(DIR_FS_CATALOG_IMAGES.$data['largeFileName']);
$source_name = $_FILES['large_image']['tmp_name'];
$destination_name = DIR_FS_CATALOG_IMAGES . $data['largeFileName'];
if ( !move_uploaded_file($source_name, $destination_name) ) {
$messageStack->add( TEXT_MSG_NOUPLOAD_LARGE, "error" );
$check = 1;
}
else
{
chmod($destination_name, 0755);
}
}
}
Code:/**
* ih_manager.php
* manager module for IH2 admin interface
*
* @author Tim Kroeger <[email protected]>
* @copyright Copyright 2005-2006 breakmyzencart.com
* @license http://www.gnu.org/licenses/gpl.txt GNU General Public License V2.0
* @version $Id: ih_manager.php,v 1.2 2006/04/17 18:23:24 tim Exp $
*/
Thanks. I found what was wrong. When I was setting it up, each time FTP'ed the bmz_io_conf.php file to the admin directory, my admin interface went blank. I installed it without that file, and forgot to transfer it again. I put it in the directory and that problem is solved.
I have one more small problem. In the categories/product section, the new icon wih the "i" is missing from between the copy and attribute icon. What would cause that to happen? Thanks in advance.
I must not know how to use this mod - I installed everything and nothing has changed on the storefront. The images don't popup when hovered over, even though it says to do so. It looks just like the regular additional images before I added the mod. Anyone know what I might have done wrong? I triple checked I uploaded all the files.
Click on the little "i" circle on the right side of the product listing pages.
http://cupidstreasurebox.com/index.p...=index&cPath=3
This is my store. Started.
Thanks,
Joy
This is a great mod. It has trasformed the look of my sites and I continue to experiment with it to get the nicest looking websites.
Anyway, I have a small query. I have altered the width of my site and it is now fixed (I like doing that because it allows me to place fixed width header images, etc. with totally predictable results in any browser!!). However I don't think I got it quite right this time as the drop shadow on the right hand side doesn't quite look right (not reaching the edge of the site). Hmmm that wasn't the greatest description so perhaps looking at the site will help explain.
www dot craftonline dot biz / onlinestore. The site is still being built but you can see what I mean nevertheless!
Any ideas would be welcome and thanks again for a great mod.
Rob
I'm having some very frustrating problems with Image Handler after upgrading ZenCart from 1.3.7 to 1.3.8.
I am using Image Handler 2 for v1.3.x found here:
http://www.zen-cart.com/index.php?ma...roducts_id=117
The problems I am having relate to proportionately sized images. I AM clearing the image cache after making config changes.
Settings:
Small Image Width 160
Small Image Height 160
Heading Image Width 57
Heading Image Height 40
Subcategory Image Width 160
Subcategory Image Height 160
Calculate Image Size true
Image Required true
Image - Shopping Cart Status 1
Image - Shopping Cart Width 80
Image - Shopping Cart Height 60
Clone Image Dir Owner false
Category Icon Image Width - Product Pages 57
Category Icon Image Height - Product Pages 40
Top Subcategory Image Width 160
Top Subcategory Image Height 160
Product - Image Width 350
Product - Image Height 263
Product - Image Medium Suffix _MED
Product - Image Large Suffix _LRG
ImageMagick path /usr/bin/
ImageMagick library path
Image - Product Listing Width 160
Image - Product Listing Height 160
Image - Product New Listing Width 160
Image - Product New Listing Height 160
Image - New Products Width 160
Image - New Products Height 160
Image - Featured Products Width 160
Image - Featured Products Height 160
Image - Product All Listing Width 160
Image - Product All Listing Height 160
Product - Number of Additional Images per Row 2
Product Image - No Image Status 1
Product Image - No Image picture no_picture.gif
Image - Use Proportional Images on Products and Categories 1
IH resize images yes
IH small image filetype no_change
IH small image background 255:255:255
IH watermark small images no
IH zoom small images yes
IH small image hotzone no
IH small image compression quality 85
IH medium image filetype no_change
IH medium image background 255:255:255
IH watermark medium images no
IH zoom medium images no
IH medium image hotzone no
IH medium image compression quality 85
IH large image filetype no_change
IH large image background 0:0:0
IH watermark large images no
IH large image compression quality 100
IH large image maximum width 800
IH large image maximum height 600
IH watermark gravity Center
IH zoom gravity SouthEast
PROBLEMS:
1) From Config > Images > Small Image Width/Height:
"You can just set width (or height) to e.g. 100 and leave the other dimension blank (or set to 0). Now you specified a width (or height) that the image in question will be resized to. The height (or width) will be calculated according to the correct aspect ratio."
DOESN'T WORK consistently on top level categories (but works on SOME!) Instead, a value of 0 is added to the code sent to the browser, so the image is there, but it has a height of 0 so we can't see it! Also, when a dimension value is set to 0, the image is not stored in the Image Handler cache.
http://www.mimagallery.com/index.php...ndex&cPath=147
I don't see a difference between the images that work and the images that don't work. Can you see a pattern to the problem?
I have tried changing the Small Image Width/Height settings to various combinations 160, 160!, blank, 0, nothing helps. Anything other than what I have nw makes the situation worse.
Also, for the value:
"Image - Use Proportional Images on Products and Categories"
We want this ON---enable proportionate images. But it also says:
"NOTE: Do not use 0 height or width settings for Proportion Images"
This contradicts the Image Handler documentation, no?
2) I want to set these to:
IH large image maximum width: 864
IH large image maximum height: 864
So image will resize and show largest side at 864 and other side a proportionate value. But this does not work: Popup will then show thumbnail or nothing at all.
I have this set to 800x600 and it seems to be working OK, but client wants that extra 64 px.
3) Some (but not all!) product info images (MED) are displaying at thumbnail size:
http://www.mimagallery.com/index.php...roducts_id=194
Thanks in advance for looking at my issues!
Did you install this as the one in the downloads area didn't have it the last time i looked. This allows the medium images to zoom as well as the small.
http://www.zen-cart.com/forum/newrep...reply&p=712985
Can someone ensure that's in the downloads area.
This is my image settings and everything works perfectly on my site so maybe this will help you.
Small Image Width 140 Info
Small Image Height 160 Info
Heading Image Width - Admin 35 Info
Heading Image Height - Admin 20 Info
Subcategory Image Width 140 Info
Subcategory Image Height 160 Info
Calculate Image Size true Info
Image Required false
Image - Shopping Cart Status 1 Info
Image - Shopping Cart Width 140 Info
Image - Shopping Cart Height 160 Info
Category Icon Image Width - Product Info Pages 140 Info
Category Icon Image Height - Product Info Pages 160 Info
Top Subcategory Image Width 180 Info
Top Subcategory Image Height 180 Info
Product Info - Image Width 350 Info
Product Info - Image Height 400 Info
Product Info - Image Medium Suffix _MED Info
Product Info - Image Large Suffix _LRG Info
Product Info - Number of Additional Images per Row 4 Info
Image - Product Listing Width 140 Info
Image - Product Listing Height 160 Info
Image - Product New Listing Width 140 Info
Image - Product New Listing Height 160 Info
Image - New Products Width 140 Info
Image - New Products Height 160 Info
Image - Featured Products Width 140 Info
Image - Featured Products Height 160 Info
Image - Product All Listing Width 140 Info
Image - Product All Listing Height 160 Info
Product Image - No Image Status 1 Info
Product Image - No Image picture no_picture.gif Info
Image - Use Proportional Images on Products and Categories 1 Info
IH resize images yes Info
IH watermark small images no Info
IH small image filetype jpg Info
IH zoom small images yes Info
IH small image background 255:255:255 Info
IH small image hotzone no Info
IH small image compression quality 85 Info
IH watermark medium images no Info
IH zoom medium images yes Info
IH medium image hotzone no Info
IH medium image compression quality 95 Info
IH medium image filetype jpg Info
IH watermark large images no Info
IH medium image background 255:255:255 Info
IH large image compression quality 95 Info
IH large image filetype jpg Info
IH large image background 255:255:255 Info
IH large image maximum width 550 Info
IH large image maximum height 550 Info
IH watermark gravity Center Info
IH zoom gravity SouthEast Info
How do you add your images ?
I use either the catalog product pages when i am adding a new listing or when adding additional images i use the admin - tools - image handler page ( but only when adding additional images to the product )
Make sure your medium and large folders do not have images in them using your FTP program as it interferes with Image Handler 2's ability to work.
Make sure you only upload one image and make sure it's the large image and image handler will make medium and small images all proportional for you.
The link i supplied above doesn't work.
This is the proper link and for some reason the downloads section doesn't have this in the files or at least when i downloaded Image Handler it didn't so maybe it does now.
http://www.zen-cart.com/forum/showth...658#post517658
Thanks for your reply!
Yes, the download of Image Handler included the jscript_imagehover.js file.
Off hand, I don't know how the client is uploading images. I assume via Image Handler.
There are no files in the images/large and images/medium folders other than the images included in the Image Handler module.
The files that are uploaded are minimum 800x600.
I just clicked the Image Handler > Admin > Scan for old files link and it found around 100 or so. I am backing up the DB and images folder (which will take at least an hour) and will report back if this fixed the problems.
Ran the scan, imported old images to database... now all the problem images have disappeared from the front end completely!
The import function removed those old images from the sub-folders in /images/. I'll restore the images folder backup.
Do I need to restore the products table in the DB too? The image paths in there look OK (pointing to /images.)
I notice that the images that are problematic have an img src of /images instead of /bmz_cache. And, there is an extra slash added to the onmouseover path:So, Image Handler seem to be having some trouble with those older files. Any other ideas?Code:onmouseover="showtrail('/images/elements_v1//b...
None of this seems to address the other problem I have: Thumbnails are NOT proportional on top-level cat pages. They're all being resized to square and changing the value of "Top Subcategory Image Height/Width" has no effect:
http://www.mimagallery.com/index.php...ndex&cPath=148
After restoring the images folder, I ran the scan again, and all the problem images are located in a folder called /original/.
I've copied the files from /original/ into the appropriate sub-folders in /images/ and that has restored proportional thumbnails in some cases.
Other categories remain problematic:
http://www.mimagallery.com/index.php...ndex&cPath=148
Note that the thumbs here are coming from /images/categories/. On categories without this problem, the thumbs are coming from /bmz_cache/. Image Handler isn't handling the problematic thumbs. How do I get these properly generated by IH?
Also, I still have problems with some products where the large size image does not pop up at full size (though the source of the image is full size.)
http://www.mimagallery.com/index.php...oducts_id=1832
Thank you! That was key information. When I reduce the values set in Config > Images, everything works as expected with proportional sizing.
However, I don't want to define an image height. I just want to set width to 160 and have the height set in the correct aspect ratio.
From Config > Images > Small Image Width/Height:
This doesn't work since the upgrade of ZC and IH. It *used* to work.Quote:
You can just set width (or height) to e.g. 100 and leave the other dimension blank (or set to 0). Now you specified a width (or height) that the image in question will be resized to. The height (or width) will be calculated according to the correct aspect ratio."
If I set Small Image Width/Height to blank nothing happens. If I set it to 0, the thumbs disappear from the front end (in the code, they have a height of 0 and are thus not visible.)
Changes to Subcategory Image Height and Top Category Image Height don't seem to do anything---the image dimensions appear to be taken from the Small Image Width/Height settings.
Here's an interesting case:
http://www.mimagallery.com/index.php...ndex&cPath=147
The thumbnail called Tango has been resized to 31x160px. How can this be when the image settings for thumbs is 160x120? Shouldn't the max height be 120?
Hi Steven
I notice you have this in your admin and images settings.
Clone Image Dir Owner false
I don't have that in mine.
Is it possible some other module is interfering with Image Handler ?
I don't know what that's from. I have one other ZC site runnin 1.3.8a and I don't see that configuration there. I did a search through all files in the site for the string "Clone Image Dir Owner" and came up empty. In the DB, I note that was set back in 2005. From an older version of ZC?Quote:
Clone Image Dir Owner
Set to 'true', if you want newly created images and directories to be owned by the image directory's owner. (Not yet functional!)
I used to have the HTMLArea Image Manager plugin installed, then after upgrading to 1.3.8a noticed that it was included by default with the newer HTMLArea distribution (so I still have it installed, but wasn't required to do any installation steps like I had to previous to 1.3.8a.)
I know I have Info Pages and Column Layout Grid, in addition to Image Handler.
There isn't a place in the ZC Admin that I can see all installed modules, is there (like WordPress' Dashboard > Plugins?)
Additional clues:
Medium images (product info) work perfectly. I have these set to 350x350, so largest side is 350, other side is resized in correct aspect ratio.
The hover/zoom feature is inconsistent and seems to be related to this "upsize" problem. When it does work, the image in the zoom is not much larger than the thumbnail, if at all.
Please can somebody help?
The icon_image_handler.gif little pink icon only shows in the Categories / Products admin area in IE but not firefox, I only use firefox. In firefox the page will continue to try to load and all the other icons are there: edit, delete, copy, move etc. but the image handler icon is just text saying 'image handler 2' It is in the correct folder: admin/images, what is going wrong? :dontgetit
Thank you.
I've been trying to create a watermark so ih2 can apply it to all of my images. But I've been having lots of problems creating a simple yet effective watermark. Can anyone assist with this? Or if there's a program I can get to do this for me. Thanks
Is there any info on troubleshooting an IH2 installation? I have tried repeatedly to get IH2 working on my ZC, but despite hav ing started with a clean ZC, I cannot get IH2 to install. No entry on Tools menu, no additional options on Config/Images panel.
I have checked file permissions, copied the appropriate files into my custom template folder - but IH2 just won't show up.
Do you have a copy of Photoshop? There are some good Photoshop pre-built "Actions" (like macros) for creating watermarks for images.
Have a look here, f'rinstance:
http://graphicssoft.about.com/cs/photoshop/ht/apswatermark.htm
You need some kind of image editing program to do this.
Hello! I'm getting this error after the instalation:
Warning: main(.............../store/includes/extra_configures/bmz_image_handler_conf.php) [function.main]: failed to open stream: No such file or directory in ............../store/admin/includes/extra_configures/bmz_image_handler_conf.php on line 12
Fatal error: main() [function.require]: Failed opening required '........./store/includes/extra_configures/bmz_image_handler_conf.php' (include_path='.:/usr/lib/php') in ............../store/admin/includes/extra_configures/bmz_image_handler_conf.php on line 12
any help? thanks in advance...
IH2 problem fixed: Installed to WRONG folder!
Corrupted entire ZC. Reloaded clean /includes folder, all is well. Now just have to figure out how to get IH to do what I need it to do!
This thread is losing effectiveness... it's just too big. How many times have the same support questions been asked because we can't locate the fixes in this monster thread? If we can't have a sub-forum dedicated to IH, wouldn't it be good for the mod contributor to just set up a free Google Group?
I posted a support request for this same issue back in Sept 08. The answer is somewhere in here but I can't locate it, and after upgrading ZC and IH, the problem has returned.
In IE, the large size popup window is not sized to the image, it's only about 100 px high.
Can someone please point me to the fix?
TIA!
I'm using Image Handler with v1.3.8a and am having trouble getting clear images for the small size images.
Most of my images contain a lot of detail as they are cross stitch kits, and these tend to display very blocky or fuzzy in the small size which is not good!
The medium & large images appear perfectly OK.
Can anyone suggest a solution please?
website is: www.b u s y l i z z i e c r a f t s.co.uk
With thanks in advance.
I definitely agree with stevensmedia that something should be done to address the unwieldiness of this thread.
Organize it into something like FAQ, fixes, etc.
For example, and this is a question for yellow1912, I see that an updated version of this mod is available for download.
However, I had already updated the file (it was published on the thread), so I don't think that an update is necessary for me.
I also use tophand's version of imagehover, but don't know if this is included in new release.
Contributor has left the forums long ago, so somebody should volunteer for a Google Group.
Hint: I'm already ducking the suggestions thrown at me.
Still unable to figure out why the hover effect is not working. I installed IH2 on another server just to see if a totally clean install would work. Just loaded the standard test products and categories.
IH2 works fine in all respects - all hover/zoom effects work.
On my development site, however, despite the fact that the templates are the same, the hover does not work. The smaller image has that little box with the x that indicates IH2 is working, and the watermark appears correctly on the larger image I get when I click on the product listing image.
But no hover/zoom, anywhere. The Configuration/Image panels are identical, so that's not the problem.
Anyone have any ideas?
Thanks.
Yes - the JS folder and its files are there. T A check of the source code on the different pages also shows the JS references, and they are correct.
I am still investigating, but at this point, I do not have much hope that this problem can be overcome, judging from the other posts on this topic.
All the javascript files in the custom_template/jscript folder need to be enclosed in tags like these:
<script language="javascript" type="text/javascript"><!--
your javascript here
//--></script>
then change the extension to .php, if prompted about the file name extension say Yes.
The reason is that, according to Dr. Byte, Zen cart will "peek" first into that folder and if it finds any javascript there, it will execute those and then stop looking.
Thus, jscript_imagehover.js in template_default will not be read.
The folder /templates/mytemplate/jscript contains:
onload (folder) - contains only read_me.txt
jscript_imagehover.js
read_me.txt
So, you're saying to take the code from the jscript_imagehover.js
file, put the standard <script> code around it, and write as
jscript_imagehover.php ?
I'm curious as to why some people have gotten the zoom feature to work without having had to report to this, as apparently it's not really documented anywhere I can see.
I also went back and looked at the IH2 documentation. It says to copy the jscript files into the folder of whatever custom template you might be using. Does it then matter if you leave the jscript files in the template_custom folder where they were put during the install? My brief experiment shows no difference in lack of zoom behavior, either way, at least for me.
No, IH2 installs jscript_imagehover.js in template_default.
IF you have javascripts in your CUSTOM/jscript folder, then those should be surrounded in tags and renamed.
Why do you have readme.txt there? Shouldn't be there, but I'm not sure that is causing your problem.
Try removing all those readmes and see what happens.
Hi, wondered if anyone can help. I have this program installed (I think) but I can't work out how the multiple image thing works? I have a product selected and it looks like I have attached another image to the a product, there are two images listed under the product but it does not display in my store, any ideas?
Hi,
I'm using a template from TemplateMonster which I guess generates thumbnails automatically. All my pictures are in the folder /images. The folders images/large and images/medium contain no images, yet in my shop the thumbnails etc. are automatically generated.
I've installed IH2 to add watermarks, but they only appear when the image is small. When I click on 'larger image' the watermark is gone. When I copy the image from /images to /images/large the watermark does appear.
Is there a way I can get the watermark to appear on the large images also, without having to copy all the images to the /images/large folder?
Hope this makes sense to someone. Any help appreciated.
My shop is at http://mylittletoy.com/index.php?mai...&products_id=1
There seems to be some confusion about templates, I think.
My /includes/templates folder contains:
classic
mytemplate
template_custom
template_default
The IH2 documentation says, "If you use a custom template, copy the contents of includes/templates/templates_custom into your custom template's folder..."
But, all ZC installs create folders called:
includes/templates/template_custom
includes/templates/template_default
On my other test site,- where the hover works fine - I am using the "classic" template - there are no others installed. The IH2 Javascript folder was installed to /includes/templates/template_default.
Pardon my confusion: is the "custom template's folder"
includes/templates/template_custom
or
includes/templates/mytemplate?
The "evidence" on my test site suggests that /template_default is the correct location for the jscript folder and its files.
I have worked on a module called Attribute popup (large images)
http://www.zen-cart.com/index.php?ma...roducts_id=616
therein is the way we solved compatibility issues with IH2, mainly why imagehover stopped working.
Also, check the Easy rollovers thread.
@ tophand
http://www.zen-cart.com/forum/showpo...6&postcount=72
Check around this post, unfortunately the link to DrByte's post no longer works.
I have searched the forum and haven't found an answer to this one.
In the documentation, it says to go to Admin > Tool > Image Handler 2, and then go to admin and select Install Image Handler. What is weird is I do not have that option. I have Remove Image Handler, Clear image cache, and Scan for old.
Also, under Admin > Config > Images, there are no additional options for IH (I assume that is because I have not intalled it from the Tools area.
Any ideas?
Thanks!
Hi,
My Image Handler appears to be working just fine for small and medium images, however, when I click to view larger images, I don't think Image Handler is doing anything at all for those.
I've checked all settings and permissions on all image folders and bmz cache are set to 755.
IH resize images yes
IH small image filetype no_change
IH small image background 255:255:255
IH watermark small images no
IH zoom small images yes
IH small image hotzone no
IH small image compression quality 85
IH medium image filetype no_change
IH medium image background 255:255:255
IH watermark medium images no
IH zoom medium images no
IH medium image hotzone no
IH medium image compression quality 85
IH large image filetype no_change
IH large image background 255:255:255
IH watermark large images no
IH large image compression quality 85
IH large image maximum width 750
IH large image maximum height 600
When I check the images under the Image Handler listings, it lists the correct resolution for the large file at 750px, but when I click on the image, it shows up at original max resolution, anywhere from 1200px to 2500px.
I've cleared the image cache several times as well.
Can anyone please tell me what I'm missing here?
Here is a link to the category:
http://www.autonetperformance.com/sh...ex&cPath=13_24
All other categories use smaller images, so they're not an issue.
Hello there,
I had set up a wiki with an FAQ for IH back in May, 2006 when I was actively developing the plugin. It is free to everyone and you needn't even register. It contains just one question because I had no time to scan this thread for those answered questions back then and I have even less time nowadays. Please go ahead and use the pages in my public wiki but remember, it is for answered questions, that means, the problem must be resolved before the question is put there with it's answer. Otherwise how would you put an answer to the question?
There is a zen cart wiki, too. It even sports an area for 3rd party contributions but I believe you have to register or login. It would be a good idea to copy the information from the FAQ on breakmyzencart to the zen cart wiki once there is some valuable information there or even use the zen cart wiki right from the start. Maybe someone (or some more?) will take the time after their recurring problem is solved and post the solution there but we know all how it is: once the problem is solved, another one or some wicked deadline arises (wich we knew would arive for weeks) and we don't have time for the documentation.
Cheers,
Tim
Don't know if anyone's found the fix for this but I did discover a way to eliminate the problem (not fix it) with a css hack:
@media screen and (-webkit-min-device-pixel-ratio:0) {
/* only webkit-based browsers will read the following styles */
#trailimageid {
display: none;
}
}
That will make hover images not display in Chrome or Safari. Until someone comes up with a better, more appropriate fix, that's what I'm using. I've wasted too much time trying to get the hover images where they ought to be. I'd rather just not have them display in Chrome at all. :smile:
I have a problem with a image link at the bottom of my site that reads - Click Image to Close. This I would like to get rid of, but when I try to my page want load. It did not appear until I installed image handler. Does anybody have any ideas I would be grateful.
You can see my website in my signature. Thank you
I am getting this error when I go to the IH2 image manager:
Warning: preg_match() [function.preg-match]: Compilation failed: unmatched parentheses at offset 7 in /home/digitalp/public_html/BIGIMPACTFASHION.COM/admin/image_handler.php on line 54
Any ideas?
I inatalled this on a cart couple of days ago and have been reading trying to find an answer to this.
The extra images seem to add and show up just fine. Now however, the main image for the product shows the red x for the missing image.
the link to the image is images/medium/IMAGENAME_MED.jpg but there is no image in that folder for this.
Interestingly when I click on that miasing (or the link larger image) the large image appears.
What is missing to create the _MED.jpg image?
I've been breaking my head over this. I installed IH2 a couple of days ago. I have the watermark turned on for both small, medium and large images but only the the small ones display a watermark. I have created watermark.png and placed it in /images/large.
The watermark does show when I copy a picture gadget.jpg from /images to /images/large and rename it gadget_LRG.jpg.
Any clues? My site is www.mylittletoy.com.
Thanks
Warning: require_once(/hermes/web07/b2388/moo.sareefer/shop/includes/extra_configures/bmz_image_handler_conf.php) [function.require-once]: failed to open stream: No such file or directory in /hermes/web07/b2388/moo.sareefer/shop/admin/includes/extra_configures/bmz_image_handler_conf.php on line 12
Fatal error: require_once() [function.require]: Failed opening required '/hermes/web07/b2388/moo.sareefer/shop/includes/extra_configures/bmz_image_handler_conf.php' (include_path='.:/usr/local/lib/php-5.2.1/lib/php') in /hermes/web07/b2388/moo.sareefer/shop/admin/includes/extra_configures/bmz_image_handler_conf.php on line 12
Can someone help with this error please?
Ok all sorted I see where I went wrong :P
This forum has helped me out numerous times, but his thread is just ridiculously big. I've asked for help 2 times, but I never got a response because there's 4 or 5 other things being discussed, which is really frustrating.
In order for watermarking to work for every image dimension the specific corresponding watermark images have to be present. That means, you have to upload files to the following specific locations:
*images/watermark.png
*images/medium/watermark_MED.png (or your specified MEDIUM_IMAGE_SUFFIX)
*images/large/watermark_LRG.png (or your specified LARGE_IMAGE_SUFFIX)
I included some demo watermark images for small, medium and large sized images featuring a slightly modified Zen-Cart logo for a quick start. Nothing more to do, switch on, switch off, just as you like. Image Handler takes care of generating images accordingly. You can specify where you want the watermark to appear on the image canvas by selecting NorthWest, North, NorthEast, West, Center, East, SoutWest, South and SouthEast for the Wartermark Gravity setting.
This came from the authors web site. Hope it will help.
Look like you added this along with the google-analytics code to your footer file.
Code:<body id="popupAdditionalImage" class="centeredContent" onLoad="resize();">
<div>
<a href="javascript:window.close()"><img src="" alt="- Click Image to Close" title=" - Click Image to Close " width="70" height="60" /></a></div>
Thank you for your help. I had already done did everything you described here, yet only the small images display watermarks. When I copy an image to images/large and add the suffix _LRG to it, then that image does get a watermark when displayed small and big :frusty:. Unfortunately, I will be having to many products to copy every image.
I have all watermark.png and watermark_LRG.png in place and have 'show watermark on large images' set to yes.
If anyone could look into this, I would be very thankful.
I have created a watermark_LRG.png and uploaded it to /images/large. Only small images display a watermark. When I copy an image from /images to images/large and add suffx _LRG to it, then it does show the watermark when large.
These are my settings:
Title Value Action
Small Image Width 100
Small Image Height 80
Heading Image Width - Admin 57
Heading Image Height - Admin 40
Subcategory Image Width 100
Subcategory Image Height 57
Calculate Image Size true
Image Required true
Image - Shopping Cart Status 1
Image - Shopping Cart Width 50
Image - Shopping Cart Height 40
Category Icon Image Width - Product Info Pages 57
Category Icon Image Height - Product Info Pages 40
Top Subcategory Image Width 150
Top Subcategory Image Height 85
Product Info - Image Width 150
Product Info - Image Height 120
Product Info - Image Medium Suffix _MED
Product Info - Image Large Suffix _LRG
Product Info - Number of Additional Images per Row 3
Image - Product Listing Width 100
Image - Product Listing Height 80
Image - Product New Listing Width 100
Image - Product New Listing Height 80
Image - New Products Width 100
Image - New Products Height 80
Image - Featured Products Width 100
Image - Featured Products Height 80
Image - Product All Listing Width 100
Image - Product All Listing Height 80
Product Image - No Image Status 1
Product Image - No Image picture no_picture.gif
Image - Use Proportional Images on Products and Categories 1
IH resize images yes
IH small image filetype no_change
IH small image background 255:255:255
IH watermark small images yes
IH zoom small images no
IH small image hotzone no
IH small image compression quality 85
IH medium image filetype no_change
IH medium image background 255:255:255
IH watermark medium images yes
IH zoom medium images no
IH medium image hotzone no
IH medium image compression quality 85
IH large image filetype no_change
IH large image background 255:255:255
IH watermark large images yes
IH large image compression quality 85
IH large image maximum width 750
IH large image maximum height 550
IH watermark gravity SouthWest
IH zoom gravity SouthEast
Any further help appreciated.
http://mylittletoy.com/index.php
So your uploaded images is bigger then 750 x 550?
Check a couple of images and the large images are only 325 x 325.
Your uploaded images needs to bigger then 750 x 550 or you need to change
IH large image maximum width 750
IH large image maximum height 550
to
IH large image maximum width 315
IH large image maximum height 315
Hi everyone,
I noticed that many of you had the same problem I did with not being able to get the large watermarks to show up.
This was my problem:
1. All watermarks showed up except the large pop up images, with the EXCEPTION of the additional images popups. They worked fine.
2. I changed the size of the original image I uploaded into IH Handler to be much larger than my Large Image settings under Config-Images, to make sure IH was handling them.
3. The large popups were not being handled by IH, because, in addition to the large watermark not showing up, it didn't resize the image to my large image settings.
4. I made sure all my settings were correct and cleared the cache, etc. None of these worked.
My Solution:
I uploaded my regular default image in IH Manager, then loaded the same image to the optional large folder in IH Manager as well. This fixed the problem. It was able to recognize and adjust the size as well as add the watermark. Apparently, in my case, adding only a default image for all three sizes didn't work correctly.
I hope this helps someone! Good luck . . .
Kim
Is there an easy way to change the text for the watermark without having to use an editor.
How do I disallow clicking on the additional images from opening a larger image in another window?
As in I dont want people to click on the image and open an enlarged image
Is this a Javascript thing? cos i cant find the function anywhere :(
I am having issues with IH2 working on a new site I have in development. What is maddening is that I have it working fine on another site (on the same server). I have checked and I think I have all the files in the right location with the right permissions. I see all the IH2 menus and functions in my admin BUT IH2 doesn't seem to be active on the site.
I cleared out the bmz_cache, I have uninstalled and reinstalled several times. No luck. IH2 does not appear to be writing to the bmz_cache directory.
My site in dev is http://redspet.com/index.php
You can see if you click on a main product image it gives you a broken link--- like IH doesn't know to put the files in bmz_cache nor look there for them.
Any thoughts on this?
Thanks!
I just noticed that the large watermark does show up on the large images in the IH2 tool, yet on my site it only displays a watermark on the small images. :frusty:
www.mylittletoy.com/index.php
Suddenly the images doesn't resize anymore. When I clear the cache, the directory bmz_cache will be cleared normally.
And when I go to the shopfront the folders 1234567abc..etc will be created, but there will no images created in those directory.
So the images of productlisting and productdetails are scaled from normal large size.
So that makes a lot of traffic. What does go wrong? Earlier it did work.
Similar thing for me - have IH working fine on another site, using same files but no joy with the additional images.
Have uploaded via IH and all products/ images show correctly.
Go to product info page and no additional images, no code no nothing.
I've so far spent all day today trying to get this working. Highly frustrating.
For the record I am using ZC 1.3.8a, Cherry Zen template, GD Version bundled (2.0.34 compatible)Quote:
Default Re: Image Handler 2 Support
I am having issues with IH2 working on a new site I have in development. What is maddening is that I have it working fine on another site (on the same server). I have checked and I think I have all the files in the right location with the right permissions. I see all the IH2 menus and functions in my admin BUT IH2 doesn't seem to be active on the site.
I cleared out the bmz_cache, I have uninstalled and reinstalled several times. No luck. IH2 does not appear to be writing to the bmz_cache directory.
My site in dev is http://redspet.com/index.php
You can see if you click on a main product image it gives you a broken link--- like IH doesn't know to put the files in bmz_cache nor look there for them.
Any thoughts on this?
Thanks!
I was able to fix the main product image broken link by replacing the IH includes/modules/main_product_image.php with my original one for now until I get this figured out.
Okay, I deleted an extra jscript directory in my template_default directory and IH seems to have fired up! It is making files in the bmz_cache directory.
Unfortunately the site doesn't appear to be using the cached files! If you poke around on the site you can see that it is pulling full size images out of the image directory!!
Thoughts? Anyone have an idea here???
thanks!!
http://www.zen-cart.com/forum/showpo...postcount=3852
Read this and subsequent posts.
Read it, tried it, no dice. I have read close to every page in this insanely long thread. The strange thing is that I have it working with no issues on one site: 1.3.7 with Red Passion based theme but I can not get it to work in 1.3.8a with Cherry Zen.Quote:
Before I try installing this one, I want to know if it will work on an already functioning store. Mine is working just fine but I am looking at this mod as a way to cut down on the amount of work my co-owner and I spend resizing the images we have from all our designers. Link to my store: GBLCreations
I know this would have worked HAD I installed it prior to opening the store but we are six months old now and have images for over 300 individual products. Each one is a unique product.
As for installing it on a test bed, I don't have one up and running. I could get one up eventually and try it.
Liz
Yes it can be added to an existing store. If you leave the lrg and med images you have already created in placed they will be used for those products, and with new products just load the largest image you are going to display into the images folder and image handler will do the rest and cache those images in the bmz_cache folder. If you want it to handle the old images also you will need to remove the small image, medium image and move the _LRG version from the large folder to the images root and remove _LRG from the filename. Anytime IH2 find a matching image name, with _MED or _LRG, in the medium or Large folders it doesn't processes them. That is considered and override of the image handler function and comes in handy in some situations.
Thanks for answering. Let me think on this and see what I want to do. I'm not sure yet cause I don't want to do anything at the moment. We just started a major sale. Liz
I've been working on the back end of our site for a couple weeks now, everything's getting to where it should be as far as layout...
I've installed IH2, and it works great! But...
I was wondering if anyone knew how to display text below the image after it's uploaded...
For example:
http://www.trueclothing.net/zen/inde...roducts_id=194
For that product, I need to make the attribute options (colorways) shown below the image for each attribute. I will have at least 2 colorways per every item on the store so adding it to the actual image is not an option. I need to either display the text description of the colorway below the image or what would be even cooler, is if I could have the main image rotate to the selected attribute before someone adds it to cart, but I'm sure that's a long shot...
Any help is appreciated, I tried searching through massive posts to find an answer, but to no avail.
Thanks