http://www.banberryplace.com -- I'll double check that when I get a chance.
Printable View
http://www.banberryplace.com -- I'll double check that when I get a chance.
Hello,
I followed the readme exactly and uploaded the files properly. I have GD etc. ZC 1.3.8 with IH2 (for 1.3.x).
...but when I visit mysite.com/admin/image_handler.php I get a 500 error!
Any ideas?
Hi,
I've set IH up and it's definitely resizing images nicely for me, etc.
All features appear to work but the conversion to PNG for categories doesn't
I've tried clearing the cache and evening manually deleting all the files in the cache with no joy - when I display a list of categories, each image is JPG.
The customer has commented that the images look a little blurred. I agree - I can see the JPG edge artifacts that you get sometimes and it doesn't seem to make a difference if I change the compression ratio.
I've got all compression levels to 100 (meaning best quality image).
Can somebody help me here?
Thanks,
Simon.
IH2 is great...love it!
I'm curious though, is there a way to "preload" the hover images?
I have the slightest delay when I hover...
but I can imagine this getting longer depending on the customers modem speed.
It's common practice to pre-load rollovers...but I have no idea how-to with ImageHandler.
Has anyone integrated a pre-load function to the mod?
No disrespect, but I don't really understand your reasoning.
Are you saying images are cached (in the browser) when someone loads the page?
Then that would be pre-loading...
What I don't understand is "defeat the purpose and functionality"...
isn't part of the purpose to have the hover effect load quickly?
If someone has to wait for it to load...THAT defeats the purpose.
Since it's very unlikely every image will be hovered immediately when the user hits the page,
having those hover images loading in the background would cache them locally,
making the effect faster...increasing functionality.
Or is "not feasible"...as in, it CAN'T be done?
As in it's pointless...the images are loaded as if they were placed in a regular image tag. There's not point in pre-loading them. The hover effect just, let's say brings them in to view. In otherwords they're already loaded when the page load completes, not just when you hover over them.
Pre-loading all the images wouldn't be feasible, or ideal.
My hoster had a serious problem with the chmod-command und always when i set permissions of the cache folder to 777 it was set back to 600. Emptying image cache and chmod with filezilla solved that. Now i have another Problem, I uploaded images and i get this error on the product-page:
I already removed double backslashes in the image-path through editing main_product_image.php but without any effect except the right image-path.Code:Warning: preg_match() [function.preg-match]: Unknown modifier 'I' in /mnt/web7/21/67/51778667/htdocs/shop/includes/modules/clean_business/additional_images.php on line 47
This is my additional_images.php in the /includes/modules/additional_images.php folder:
http://www.xup.in/dl,14463267/additional_images.php/
thanks for your help in advance :)
The error was "Unknown modifier I" , so i thought removing it could help, but removing it changed nothing
What's probably happening here, is when your adding the product your instructing Zen to use an image already on the server. If that's the case, make sure your not putting a / before the image name.
In the meantime, I've written into your code a snippet to remove the forward slash. But to be safe, just don't use it.:lamo:
NOTE: Other images within your cart aren't showing, probably cause you haven't uploaded them yet. Just wanted to be sure your aware.
Hi,
Love the image handler, just need help with a small fix.
My images get cut off if the are low on the screen, I would like then to appear correctly relative to the mouse position does anybody know what I am doing wrong ?
I see that this does not happen on other peoples website who are using the IH2 someone please help.
Hi everyone,
I have, again because I had to change server, a problem with IH2.
The small image is smagged, not clear or focussed, the medium image is ok.
I had this problem before and I had resolved it with the folder permissions to be the same for the bmz_cache folders and the images folders.
This time does not work.
Has anyone got any idea for me to help?
Thanks
My client would like to have some very long images in her additional image popups. I found where to add scrollbars to the popup windows so that you can scroll down to see the bottom of a large image. However, in Firefox the window itself is so tall that the bottom is cut off.
Here's an example: the second additional image is the long one.
http://orileydesign.com/index.php?ma...roducts_id=953
I played with includes/modules/pages/popup_image_additional/jscript_main.php but I wasn't able to make the window less tall in Firefox. Any ideas?
Thanks, that's what I was trying to figure out...
whether they're preloaded with Javascript or downloaded with :hidden html/css makes no difference,
as long as they're loaded before you hover them.
As I stated, I see a (ever-so) slight delay when hovering...
I assumed this was the image downloading from the server,
and this effect would get worse for people with slower connections.
As it is, sounds pretty good man...thanks for the reply! :clap:
If you have the Opera browser, you can see how many image are loading in your browser to the right of the address bar.
If your using FireFox and have the Web Developer tools installed, you can view the Document Size and this will tell you how big your page loads are. Excluding any Flash of course.
Hi, I was wondering if anyone could tell me how to resize my hover image, i rather have my customers hover over the image and see a large detailed picture than have to click to view the product description then click again for the larger picture.
Hi, I was wondering how I can remove the IH2 files from my install.
Currently I have to copy and rename 2 image files each and every time i add a product and this is annoying to say the least.
I dont want to fix it- just remove it.
Many Thanks
What seems to be the problem? What are the names of your images before you have to change them. You may have a problem with our without image handler...
If you want to remove the files, the best/easiest way to do so is to grab a download package of the module, the follow that structure to back out or remove the files.
Uninstall the SQL first though via the admin tool provided under:
Tools :: Image Handler 2
Use the admin tab located on that page to uninstall the SQL
This is an awesome mod! I am a bit confounded with my presentation however and I hope someone can help me out. The hover effect is working on my sideboxes (featured, what's new) but not on the product listing or new products center box. I have made sure all the contrib's files were transferred and it is working beautifully resizing and where it does hover but I don't know how to get it show the hover on the product listing.
Catalog: http://www.dichroicdesign.com/catalog/
Help, please?
Thank you,
Alane
Please check that the Small Image Dimensions match the dimensions of the image your hovering over.
Options are under Configuration :: Images.
Example:
The following settings won't allow a hover to be shown for the "New Products" area:
But by changing your settings to one of the following two ways, will:Quote:
Small Image Width: 150px
Small Image Height: 120px
Image - New Products Width: 120px
Image - New Products Height: 100px
Notice how the settings now match ... Which one you choose is based on your need.Quote:
Small Image Width: 150px
Small Image Height: 120px
Image - New Products Width: 150px
Image - New Products Height: 120px
OR
Small Image Width: 120px
Small Image Height: 100px
Image - New Products Width: 120px
Image - New Products Height: 100px
Why do you have to copy/rename 2 images files every time?
What are you doing that you have to do this?
Help me understand.
You can turn-off IH -->Admin-->Tools-->Image Handler-->Admin and click the link that says "Remove Image Handler From Database".
This does not remove or delete any files, just turns IH off.
You will want to click on "Clear image cache" also.
Look at your IH download to see where and what files you can remove.
When you installed IH, IH overwrites some Zen-Cart files so just replace with the copies you made of the those files.
M
Thanks so much! I changed all my small images (small, listing, new, all, featured) to use the same dimensions and it's working perfectly.
Thanks again!
Alane
Ok, I will try removing it in that way.
My backup is corrupt- so are the files that IH2 overwrites generic zencart (meaning I can just download the zencart zip and replace overwritten files) or do they get configured to each particular zencart install?
Many Thanks
The way the module package is setup, yes there's two files that are core files that are overwritten - three actually, one in the admin as well.
The above would need to be replaced with default core files for the default functionality of Zen Cart to be restored.Quote:
includes/modules/additional_images.php
includes/modules/main_product_image.php
Thanks testuser.
I have replaced those files and still each product requires a image in both the main image folder, MED and LARGE folder for it to display propperly.
What other files need to be changed?
Is there any way to add this code to image handler to sharpen up the images a bit?
http://vikjavev.no/computing/ump.php?id=35
Sorry if I am confusing you.:oops:
Basically I want instructions on how to restore the fulll functionality of my zencart to BEFORE I installed IH2.
You can set the quality of the images Image Handler outputs under Configuration -> Images. Believe the default value is 85.
First you'd need to remove Image Handler from the database. Do this by going to Tools -> Image Handler 2 and uninstalling from the DB. Then you'd need to work out the files that were included in the download package. Restoring the files stated earlier.
Thanks, I think I have done it now- fingers crossed!:clap:
I installed ih2 and added new image as the additional image, but I don't see the additional image in the front end and the hover doesn't work even though I've matched the size.
Can anyone please tell me what mistake I have done?
Thanks.
yes, i did add them via ih manager.
i don't know what's wrong with my zencart, but any script that i save in jscript folder, won't be read automatically, so for my custom template i had to create link to the js files manually 1 by 1. I will try to create link to ih's js files, hopefully it will fix the prob. Thanks so much.
Thank you testuser...
I've been looking for something like Web Developer tools for Firefox...AMAZING!!
I have one IH2 problem though, it's pretty serious...
where can I find the logic that generates the <img> with the "ALT" and "TITLE" tags?
Why?
I sell t-shirts...every product has the word "t-shirt" in the name.
So if I've got 100 t-shirt designs on my home page, that immediately turns into 500 instances of the word t-shirt on one page!!
Between the href's for both the product image and the text below it,
the visible text within the link, then the auto-generated ALT and TITLE tags...
No sir, I don't like it...(Ren & Stimpy anyone?)
So how can I remove/stop the "TITLE" tag from generating with the images?
I'm semi-familiar with the guts of ZenCart, I just need to know where to find the logic that's generating this tag...which file?
Thank you!!
Personally I don't like to edit core files, but here's what you'd need to do:
OpenReplace line 200 - 202 with the following:Quote:
/includes/functions/html_output.php
Now save this file as html_output.php.bak and also html_output.php, this will preserve your change in the instance you do an upgrade (a direct upgrade will overwrite your html_output.php file - then work your changes back into that file using the .bak file)Code:/*if (zen_not_null($alt)) {
$image .= ' title=" ' . zen_output_string($alt) . ' "';
}*/
Also, at line 198 is your alt tag as well ... You can remove that if you'd like.
I'd personally suggest removing the word T-Shirt from all your products though as the title tag is pretty significant for SEO purposes, can be a task with a bunch of products though. But fully understand your point with the weight of "T-Shirt."
I fixed the hover problem by reinstalling zencart but I still can't get the additional image working, can someone tell me what I should check or turn on?
Yes, I'm making custom template.
I just don't get it, I installed 3 zencart to get it working, 1st one not working because I forgot to add prefex "jscript__" to custom js file, and after I added still not working... installed the 2nd zencart and still in localhost, copied over the template from1st to 2nd, hover worked but additional image did not, at least there was improvement. Installed 3rd one w/o demo store in hosting account, ftp the same template files to the account and then added 1 product, everything working! :shocking::shocking::shocking:
Thanks to testuser for reminding me about javascript.
Thanks for the help and all the heads-up...
I'll shoot a donation over to you this afternoon.
FYI, I'm keeping the ALT tag (and varying my spelling of 't-shirt')...
alt holds a little more weight because it's a usability tool, it shows up when an image doesn't...
this potentially helps the surfer, and that's all that Google really wants you to do. Build for the customer.
Using both tags is great if you keep your products to a "normal" amount...
but t-shirt stores (I'm discovering) don't play by the rules...lotsa customization!
Anyway, thanks again... :smile:
Hi,
My popup hover image seems to show up behing the taskbar (a portion of the image is behind the taskbar)
Can someone please let me know what I need to do to fix this.
www.vitalwares.com
Since upgrading a few sites to Zen Cart 1.3.8a, I've noticed the additional images aren't showing correctly.
When you click a small additional image, it opens the original large image in the pop up window, not a resized large image from the bmz_cache folder.
Here is an example:
http://bangbangyourethread.com/index...&products_id=3
The main product image pops up an image from the bmz_cache folder; the additional images do not.
Here is a second example:
http://pushtheenvelope.net/index.php...roducts_id=104
http://pushtheenvelope.net/index.php...&products_id=2
I'm including two links here, because I've noticed that all images added before the upgrade work correctly, and all additional images added after the upgrade don't. So product ID #104 (first link) is displaying incorrect behavior, and #2 (second link) is working as it should.
Any ideas? Thanks in advance!
Hi,
All my original pictures when I first installed IH work and hover works.
I'm now having a problem adding/replacing images.
I've tried to do it thru IM Manager in the admin, under select actio add new image. I load a default image and save.
Nothing happens, no image.
Any ideas?
Thanks:lookaroun
Hi, we're still having the problem below...anyone have any ideas on how to solve this?
Thanks!Quote:
My client would like to have some very long images in her additional image popups. I found where to add scrollbars to the popup windows so that you can scroll down to see the bottom of a large image. However, in Firefox the window itself is so tall that the bottom is cut off.
Here's an example: the second additional image is the long one.
http://orileydesign.com/index.php?ma...roducts_id=953
I played with includes/modules/pages/popup_image_additional/jscript_main.php but I wasn't able to make the window less tall in Firefox.
Genius! Worked for me as well ...
Thank You, zirconx !
Increased the memory_limit parameter in php.ini to 32Mb .
(the problem was that only half a page was rendered)
hi i have a problem
i have no idea why it has stopped working it has been working fine all these days basically when i add additional images on a product listing they dont show up instead some lines appear or a rectangle shape has any1 any ideas
http://ashwholesaleworld.com/index.p...products_id=86
this is 1 example see the box it is supposed to be 2 images any help would be appreciated thanks
I'm trying to modify the zoom effect so instead of displaying a larger picture it just shows the product name and price when the user hovers over the small pictures. My programming experience is moderate, so I'm hoping that I can get this figured out with enough messing around. Thought I'd ask here to see if anyone with a bit more experience/familiarity with this mod has any pointers.
As of right now I'm able to hide the picture using css (display: none), but the width of the popup box still seems to be determined by the image size. Once I can adjust the width it will just be a matter of getting the price to display.
So far I haven't but much time into this, but I will post a solution if I'm able to do it.
Note: These code changes are purely experimental and I'm posting them in an effort to get help, not to be used as a copy & paste guide.
www (dot) buyers-market (dot) net/zen is the site I'm working on. Of course it's still very much in development, but it will give you an idea of what I'm trying to do.
So far I've been able to specify with width and height of the zoom box by editing these lines in jscript_imagehover.js
to look something like this. I'd like the set them to auto, but IE doesn't like that.Code:trailobj.style.width=(zoomimgwidth+(2*padding))+"px";
trailobj.style.height=(zoomimgheight+(2*padding))+"px";
To remove the picture I replaced these two linesCode:trailobj.style.width="200px";
trailobj.style.height="75px";
with this oneCode:newHTML = '<div><h1>' + title + '</h1>';
newHTML = newHTML + '<img src="' + imagename + '"></div>';
Code:newHTML = '<div><h1>' + title + '</h1></div>';
All of that seems to work fine, but the positioning of the box isn't right. It still seems like its based off the size of the image that would normally be there. So if the "would be image" is small it looks alright, but if its large the box gets bumped out of position. For example the products in Doors -> Exterior works reasonably well where Doors -> Interior are all over the place. The interior door images are much larger, and I'm fairly sure that is what is causing this. Any ideas on how to smooth this out?
So I guess that I had to just clear the cache and get rid of the images that were stored from before I made the changes. All seems to be displaying fine now.
The images that would be displaying near your browsers bottom are still displaying incorrectly. They'll stay high over the image.
My guess is why are you using IH to do what your doing? I'd personally turn off the Image Hover capability and use something else to hover the title and price.
Nevertheless however you go about it I'm sure your figure out the right solution.:hug:
The lightbox work nice on product detail page only, Can it support for image zoom on product listing page?
Ok, IH2 is great, but I am aving a weird problem, and it's probably a stupid one as well. The hover pic comes up only over the new products side bar. I can't get it to appear over the product listing or the new products for(month). Please Help!!!
http://www.mirrandareinhardtdesigns....61c9e71381db25
almost forgot the link
Have a look at this post:
http://www.zen-cart.com/forum/showpo...postcount=2738
Sweet!!! thank you sooo much!!!
Ok, the images show up, but now the pop up image is centered in the page, so you can't see the ones for new products for (month).
Im new to this, so please be patient, thx
Not sure if this really is an IH2 question, but here goes. I would like in the customers-->orders then invoice to show a scaled down image of the product. Is there a way for IH2 to add that? Would this post be better off somewhere else?
Thanks, Matt
Hi.
I have problem with Image Handler 2 (maybe) under Zen 1.3.8.
I have Red Passion theme, and when i go to product, i have this under Add to cart (example - http://www.rollshop.sk/index.php?mai...roducts_id=4):
xt' => "\n " . $link); $col ++; if ($col > (IMAGES_AUTO_ADDED -1)) { $col = 0; $row ++; } } // end for loop } // endif ?>
When i look to source, i see this code:
<!--bof Additional Product Images -->
xt' => "\n " . $link);
$col ++;
if ($col > (IMAGES_AUTO_ADDED -1)) {
$col = 0;
$row ++;
}
} // end for loop
} // endif
?> <!--eof Additional Product Images -->
How i can remove this code from my shop???
It looks like you need a <? or <?php tag. Like this:
Code:<!--bof Additional Product Images -->
<?php
xt' => "\n " . $link);
$col ++;
if ($col > (IMAGES_AUTO_ADDED -1)) {
$col = 0;
$row ++;
}
} // end for loop
} // endif
?> <!--eof Additional Product Images -->
I am not sure what is wrong here but the image pushes the whole page down...
http://stickersuperstore.com.au/
Any help appreciated.
got it just had to move files into my custom template folder yeeeeeha
gothstone: thanks for help.
code is hide, but when i come over image with mouse, i dont have big image but only small. How i can set up format of this image (sorry for stupid questios, my first experiences with image handler)?
i try to set up Product Info - Image Width and height. this option make detail picture (after moving cursor over thumb in http://www.rollshop.sk/ ) but this set up dimension of picture in product card (http://www.rollshop.sk/index.php?mai...products_id=34)
Its possible to have different dimensions of picture (after curosor over thumb) and picture in product card?
EDIT: sorry for post, when i write it i dont see reply of testuser
I am so lost. I did this before and I don't know what I am doing wrong. I installed all the files like mentioned in the directions, I am able to view image handler on my admin panel and the changes do go into effect when i upload an image, the only things I do not see is the small plus sign that mouses over the image and then pops up and also if i add an additional image to the product I can not view.
I looked at another site that I created using the Image Handler Contribution and it works fine, so I am not sure what I am not doing correctly.
Here is what I am currently doing:
After I uploaded all the files to the specified folders, I upload the Template_custom's contents into my custom template that I have already modified
I then copy the contents of the template_default folder and also add to my custom template, I make sure to add the Jcript file as I understand that is what makes the small + appear when putting your mouse over the image.
Any thoughts on what I might be missing?
Did you ever find out how to make your monster template work? I am having the same issue
I'm having the same problem of the additional image pop-ups only showing the original image and not the resized version. I didn't see any responses to this post, so thought I'd bump. The only difference in my situation is that it's a 1.3.8a install and not an upgrade.
Does anyone have this working with 1.3.8a or is this maybe an isolated problem?
Just uploaded all the files, gone to tools>imagehandler and clicked install and now I just get this:
HTML Code:Warning: main(includes/ih_manager.php) [function.main]: failed to open stream: No such file or directory in /homepages/44/d24409729/htdocs/the13th/cards/zencart/admin/image_handler.php on line 153
Fatal error: main() [function.require]: Failed opening required 'includes/ih_manager.php' (include_path='.:/usr/lib/php') in /homepages/44/d24409729/htdocs/the13th/cards/zencart/admin/image_handler.php on line 153
A few people seem to have posted the same sort of problem but I can't find any reply to it, have I just done something stupid? Is it easy to fix?
Imagehandler not displaying PNG files
Can anyone help me - I have image handler working with JPG and GIF but it will not display PNG files. I have set all Config > Images to PNG but it does not work. All PNG files show as blank. If I try to save the blank PNG and load in photshop, it says it says the file is corrupt.
thanks
Just a couple questions I can't seem to figure out myself...
1) I'm using EPA to upload my products to the store (which only handles the FIRST image)...
is there a way to pre-name files and have them on the server so they're detected once the product is uploaded?
I have 2 additional images I'm trying to add to each product, having to add them manually really defeats the purpose of Easy Populate.
I've searched, but most everything relates to the _MED and _LRG technique...
so if I just name the images the way IH2 does when added manually (image01_02.jpg - image01_03.jpg), will this work automatically? Or am I stuck adding them manually?
2) The IH2 hovers seem to 'pop' underneath my dropdown menus, but only in IE6...it works fine in Firefox.
I imagine it's a css 'z-index' issue, but I thought someone may already know where the problem lies.
So many little things to figure out...
I am sure there is but... is there way to not use IM2 for the large image on the product page but for all the other images on the site, as I have an animated .gif I would like to use and it is being flattened by IM2.
Thanks
I think that would take some serious coding changes...
IH2 has such a (relatively) simple interface, there's no admin options for something as complex as what you're asking.
You would have to rewrite the way IH2 integrates with ZenCart...as it is, IH2's options are either 'on' or 'off'.
Perhaps this has been answered already, but i have been un-successful in locating an answer.
Why is IH2 only updated/current through 1.3.7? And when ZC 1.4 is released some time between now and December, is there someone at the wheel of this ship to navigate through the update/upgrade?
Does anyone know if this is planned to be fully implemented into the ZC code in any of the near future releases?
Thanks! :smile:
Scrat,
Yes indeed there is a way to do what you want. lets say you have a product with an image name of "image.gif", you upload that into the main directory and it currently being used as the large image for the product. If you want to override that behavior and still maintain the images currently in use for the small and medium versions you would upload to the large folder your animated gif named "image_LRG.gif". Once you put an image in the large folder image handler knows that you would like to use this as the large image rather than the one in the main directory. IH2 uses the large and I suppose the medium folders as overrides. I tested this on one of my sites and it worked great for me.
barco57, Thanks for your reply. I have tried what you suggest and in the product info page the image still is gen. by IH and then the larger popup image is created from the 'large' folder of images. I have done the same for the 'medium' folder as well thinking that it is a medium image on the product info page but still IH supplies the image for that page :(
Any other ideas ?
ignore...
The big image on the product page IS "Medium" size...
when you click on that image and get the popup, is when it becomes "Large".
I didn't think this override technique mentioned would work...
I always assume the mod that's installed takes over all functions, until it's deactivated.
But I could be wrong, it's basically the same concept as overriding templates...
it all depends on the code for IH2, and whether it's built to ignore this technique.