Re: Image Handler 2 Support
Quote:
Originally Posted by
marksu
Seems like for some reason the IH creates corrupted cache image files.
Where can I find the function that creates them, so I can debug?
Have you check your image files to see they are not corrupt?
What size are the images you are uploading?
IH doesn't create the image file, the server side software GD libraries or ImageMagick does.
Large image files can choke GD libraries or ImageMagick (sever times out) which will create corrupt files.
JPG and jpg can not be mixed.
Check your settings under Images.
M
Re: Image Handler 2 Support
Quote:
Originally Posted by
kitcorsa
any idea how i can have admin privliged / profile working as well as IH??
since IH was installed admin profiles has stopped working fully. i can stop access to section but still shows the buttons in admin.
Have you look at the files to see if either is using the same function (DHTML or JavaScript)?
M
Image Hover not showing up
Hi ,
I have installed Image handler and the installation all went fine.
But its not showing up in the page.In spite a small +sign is showing near the images.When i mouse over the images the following errors show up:
Fire bug is giving me this error:
showtrail is not defined
onmouseover(mouseover clientX=0, clientY=0)
hidetrail is not defined
onmouseout(mouseout clientX=0, clientY=0)
Here is the link:
http://lockdownsurveillance.com/
Please hep is urgent:mellow:
Re: Image Handler 2 Support
You have not uploaded following
Code:
<script type="text/javascript" src="includes/templates/template_default/jscript/jscript_imagehover.js"></script>
Re: Image Handler 2 Support
Thanks. I forgot to upload:hug:
Re: Image Handler 2 Support
Quote:
Originally Posted by
dhanesh
Thanks. I forgot to upload
Pleased to hear that fixed problem..
Well done!!
:clap:
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
Have you check your image files to see they are not corrupt?
What size are the images you are uploading?
IH doesn't create the image file, the server side software GD libraries or ImageMagick does.
Large image files can choke GD libraries or ImageMagick (sever times out) which will create corrupt files.
JPG and jpg can not be mixed.
Check your settings under Images.
M
Thank you for replying. I did get the thing sorted out.
Well one thing I did find out that, yes you where right there where corrupted image files in /images folder.
I fixed the images first on my testing server. I made backups on remote sites 2 config files. I emptied the remote server and there after uploaded the hole site from test server to remote. Then I restored the config files.
That did the trick.
I did the testing on test server as that is windows based.
It was easyer that way cause did not have to bother on file/directory rights and the corrupted images where easy to see.
To identied corrupted files was simple.
In file explored I changed file view to thumpnail and all images that wid not display thumpnail image, but only the image icon was corrupted. Other identification method was also to check all image files sizes that where 1 kb.
If interested THE SITE IS OFFICALLY OPEN FOR THE FIRST TIME AT:
www.fotonapakymppi.fi in 3 different languges (English, Swedish and Finnish) :lamo:
Re: Image Handler 2 Support
Anybody shed some light for me on post 2946?
http://www.zen-cart.com/forum/showpo...postcount=2946
I don't get how I'm supposed to have edited a file that wasn't included in the package.
Re: Image Handler 2 Support
Quote:
Originally Posted by
TheHYPO
I seem to have partially solved my own issue. I thought to check the thing in Mozilla, and low and behold, I get the popups. But not in IE6 that I primarily use. When I mouseover in IE, I get "error: PageY is null or not an object". It cites a line and character, but it in the overall code of the displayed page, it ends up being a blank line. Note: this error regresses to the point where IE has an infinite number of them (the previous button is always available for a loooot of clicks) or a massive number. I'm not sure what this error means, other than pageY being a variable in the included javascript.
There is, in addition a second implimentation issue as well. I use tpl_columnar_display.php in display of categories and many boxes (I forget whether this is standard on zencart or I modified it.) I DID get popups (zoom) to work in Mozilla, as mentioned; HOWEVER, the only place it works is in my xsell box (cross-sell plugin mod which adds "related products" on the product_info page). I'm stumped as to why this is. Looking through image_handler's code, I see that it all regresses down to the handle_image function which is called from within the zen_image function. Well, both my product_listing.php module and my xsell module call the zen_image function identically, but only the xsell ends up outputting the popup code (an onmouseover code). Neither my category listings nor the "new" or "featured" products on the main page output the mouseover code and I have no idea why.
It's 4am and I'm stumped, so hopefully someone else who knows IH better has some thoughts on what I'm missing. Cheers
Re: Image Handler 2 Support
Quote:
Originally Posted by
TheHYPO
If you have edited any Zen Cart files and have them in your overrides folders and if the same named files are in the Image Handler package them you need to merge the files together.
You need to upload "All" (not the shopad folder, it's not needed) of the IH files.
Possible IH files that might need to merge with your edited files:
includes/modules/additional_images.php
includes/modules/main_product_images.php
includes/modules/pages/popup_image/header_php.php
includes/modules/pages/popup_image_additional/header_php.php
includes/templates/template_custom/pop_image_additional/tpl_main_page.php
M