Re: Image Handler 2 Support
Hello,
I wonder if it's possible to modify Image Handler 2 so that it is able to add another watermark which reads "new" for example in the upper left corner.
This alone shouldn't be that difficult, but is there a way to do this only if the product is not older than let's say two weeks? Does Image Handler receive any product reference that could be used to fetch the corresponding products_date_added value from the database?
Or is there already an Add-On which does that?
Thanks for your time!
Re: Image Handler 2 Support
Quote:
Originally Posted by
rayken
help i got this error
Warning: imagepng(): SAFE MODE Restriction in effect. The script whose uid is 10099 is not allowed to access /var/www/vhosts/mysarisarishop.com/httpdocs/bmz_cache/6 owned by uid 33 in /var/www/vhosts/mysarisarishop.com/httpdocs/includes/classes/bmz_image_handler.class.php on line 646
could anyone help me plsss.
This has to do with your server. You need to talk to your host.
FYI, you can use "Search This Thread" and search for SAFE MODE.
M
Re: Image Handler 2 Support
I have a problem that i have read about, and have extensively tried solutions that have worked for other people - but have been no help to me. The site is going through a pretty intense re-design, so forgive any super ugly pages you might come across as well as some css files that have been dynamically dropped in multiple head tags on some pages - i am fully aware.
I am rather familiar with the heiarchy of zencart and have spent days..countless hours... comparing files and trying to hunt this down on my own.
Essentially what i am having is a painful watermarking problem. My mouseover popup image watermarks correctly. When you view the product page, the product image (that you click on to get the popup window) is encoded correctly and is being (partially) processed by IH2 - i can tell this because of the filename of the image. However, it is not watermarking on that partially processed image, and the popup image that you get when you click on the product image has my original filename to it. So it is obviously not getting processed whatsoever. The small image on product listing page does work, but is turned off as the site is live and i do not want the watermark there. Also, on the popup image, there is like 200px or so of white space rendered under the product image on some browsers, and this is a bit off-par with the norm as well.
I have tried:
- switching to the classic green layout to see if there was a coding problem in my template files
- clearing image cache (both manually and through the IH2 admin menu)
- deleting and re-installing IH2 from the database
- deleting and re-installing all IH2 files
The site in question is: http://www.qcookies.com
and you can find a PDF of my image settings here: http://www.qcookies.com/image_settings.pdf
Thanks in advance, and i sincerely look forward to your feedback.
Re: Image Handler 2 Support
Quote:
Originally Posted by
mrmeech
I have a problem that i have read about, and have extensively tried solutions that have worked for other people - but have been no help to me. The site is going through a pretty intense re-design, so forgive any super ugly pages you might come across as well as some css files that have been dynamically dropped in multiple head tags on some pages - i am fully aware.
I am rather familiar with the heiarchy of zencart and have spent days..countless hours... comparing files and trying to hunt this down on my own.
Essentially what i am having is a painful watermarking problem. My mouseover popup image watermarks correctly. When you view the product page, the product image (that you click on to get the popup window) is encoded correctly and is being (partially) processed by IH2 - i can tell this because of the filename of the image. However, it is not watermarking on that partially processed image, and the popup image that you get when you click on the product image has my original filename to it. So it is obviously not getting processed whatsoever. The small image on product listing page does work, but is turned off as the site is live and i do not want the watermark there. Also, on the popup image, there is like 200px or so of white space rendered under the product image on some browsers, and this is a bit off-par with the norm as well.
I have tried:
- switching to the classic green layout to see if there was a coding problem in my template files
- clearing image cache (both manually and through the IH2 admin menu)
- deleting and re-installing IH2 from the database
- deleting and re-installing all IH2 files
The site in question is:
http://www.qcookies.com
and you can find a PDF of my image settings here:
http://www.qcookies.com/image_settings.pdf
Thanks in advance, and i sincerely look forward to your feedback.
For the 200px white space, maybe look at your style_imagehover_OLD.css .
It seems this is the file being used or it can be in one of the 3 styles sheets being loaded.
I didn't see any white space using FF and I have not check using IE.
Watermark:
Have you check to see that your watermark file is good and in the correct folders?
watermark.png -->image folder
watermark_MED.png -->image/medium folder
watermark_LRG.png -->image/large folder
How are you uploading the images for your product?
M
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
For the 200px white space, maybe look at your style_imagehover_OLD.css.
@mrmeech
A lot of people try to keep a backup of old stylesheets by renaming them in this way. But Zen Cart looks at all file ending .css in that folder and considers using them, as it appears to be doing for you.
Personally I recommend removing backups from your site completely (and keeping them off-line) - they just complicate your live environment. But if you really want to keep it close by, rename the extension rather than the base e.g. style_imagehover.css_OLD so that it's ignored as a CSS file.
Re: Image Handler 2 Support
Quote:
Originally Posted by
tophand
For the 200px white space, maybe look at your style_imagehover_OLD.css .
It seems this is the file being used or it can be in one of the 3 styles sheets being loaded.
I didn't see any white space using FF and I have not check using IE.
Watermark:
Have you check to see that your watermark file is good and in the correct folders?
watermark.png -->image folder
watermark_MED.png -->image/medium folder
watermark_LRG.png -->image/large folder
How are you uploading the images for your product?
M
Tophand,
My watermark is in good working order and they are all in their correct folders, respectively.
For new products I upload the images through the product's management page.
Re: Image Handler 2 Support
Quote:
Originally Posted by
kuroi
@mrmeech
A lot of people try to keep a backup of old stylesheets by renaming them in this way. But Zen Cart looks at all file ending .css in that folder and considers using them, as it appears to be doing for you.
Personally I recommend removing backups from your site completely (and keeping them off-line) - they just complicate your live environment. But if you really want to keep it close by, rename the extension rather than the base e.g. style_imagehover.css_OLD so that it's ignored as a CSS file.
Kuroi,
I tried changing the filename as you suggested so that it would be ignored as a CSS file. Unfortunately i am left with the same problem.
Now, if this helps at all, in a previous version of the site i had the lightbox mod installed, but uninstalled it as it did not work with additional images. (As you'll notice there is only one image per product, which will be changing within the next week, assuming i can get this watermarking fixed.) I was comparing files to try to figure out if there was anything messed up from that previous mod, but could not find a thing.
Any other suggestions? I'm so much at a loss right now. In fact, anyone who figures this out, i'll have the store send you a basket or tin of cookies for free!!! Seriously. I will.
Re: Image Handler 2 Support
I'm sorry if this was posted already but there's so many pages to scroll and find. When I installed image handler it worked perfectly, until i installed lightbox. The images stopped displaying when I hovered over the image. So, I restored my original setting but that didn't work. can somebody help me?
Thanks
Re: Image Handler 2 Support
Quote:
Originally Posted by
hellogoodbye
I'm sorry if this was posted already but there's so many pages to scroll and find. When I installed image handler it worked perfectly, until i installed lightbox. The images stopped displaying when I hovered over the image. So, I restored my original setting but that didn't work. can somebody help me?
Thanks
Perhaps you could try making a list of the files in the Lightbox mod and then replace any files that were overwritten with original files from fresh zen cart folder?
I once had Lightbox installed and i am almost convinced that it caused my site to have the problems i'm having with IH2 now. In fact, my cry for help is just above yours, literally.
http - no images, https - images
Installed Image Handler 2 to my 1.3.7 Zen Cart. Images seem to show up fine in my https://www.kaylala.com catalog but not in my http://www.kaylala.com catalog. As you may have guessed I have a split file system because of my host... home/secure_html and home/public_html.
Any thoughts?
Also I don't see the fancy hover effect.
thanks,
Graham