Re: Image Handler 2 Support
Quote:
Originally Posted by Radish
Hi Getyourgames,
Thanks for the quick reply. I'm hoping you can help me! I made the edit on line 124 and changed this:
ycoord += event.clientY - Math.max(0,(0 + zoomimg_h + (5 * padding) + e.clientY - docheight - truebody().scrollTop));
to this:
ycoord += event.clientY - Math.max(0,(0 + zoomimg_h + (5 * padding) + e.pageY - docheight - truebody().scrollTop));
Unfortunately, I'm still getting the error :(
Cheers,
Colin
Its not changed..
Code:
ycoord += event.clientY - Math.max(0,(0 + zoomimg_h + (5 * padding) + e.pageY - docheight - truebody().scrollTop));
needs to be
Code:
ycoord += event.clientY - Math.max(0,(0 + zoomimg_h + (5 * padding) + event.clientY - docheight - truebody().scrollTop));
Hope that helps!
Also just letting everyone else know: I just submitted an update to Image Handler to the downloads section that includes these fixes. I take no credit for the fixes themselves, only for applying them :). Hope it gets approved soon.
Re: Image Handler 2 Support
Getyourgames,
OH HELL YES!!! Thanks so much! I can't believe I was reading that wrong the entire time.
Cheers,
Colin
Re: Image Handler 2 Support
Quote:
Originally Posted by Radish
Getyourgames,
OH HELL YES!!! Thanks so much! I can't believe I was reading that wrong the entire time.
Cheers,
Colin
Not a problem :) Glad i could help
Re: Image Handler 2 Support
I was too slow...
Cheers,
fricy
Re: Image Handler 2 Support
Fricy,
Thanks for your help!
Cheers
Re: Image Handler 2 Support
Yesterday I posted a question about watermarks not showing up on small images. Found out that it's essential to have both Small Image Width/Height and all Listing Width/Height under Configuration/Images set to the same dimensions.
Initially settings for Small Image Width/Height were set to 135/90 and the Listing Widths/Heights to 120/80. This way the images in the sideboxes were slightly bigger (more fitting) then the images showing in the Product/All/New/Featured listings.
The listing images were processed by IH (and thus added to the cache) but without the watermark.
Setting dimensions for both Small Image and Listing Images to 120/80 did the trick. All images are showing the watermark now.
Is this (equal dimensions) a requirement when using IH or is there a way around this?
Re: Image Handler 2 Support
During testing I tried to empty the cache using the Admin/Tools/Image Handler/Admin/Clear image cache option but that doesn't seem to work. I had to go in the bmz_cache directory and clear all files manually. Permissions are set to 777.
Is this a bug or my own doing?
Re: Image Handler 2 Support
Like stevensmedia reported earlier I'm also having issues with the preview.
Seems to me that the code on lines 1012, 1018 and 1024 ( $XXXimage = new ih_image($ihConf['dir']['admin'] . 'images/ih-test.XXX') and the tablecode on lines 1041, 1048 and 1055 (src="<?php echo HTTP_SERVER . DIR_WS_CATALOG . $images['XXXsource']?> within the image_handler.php create a double reference to the root directory of the site.
Tried editing/deleting pieces of code within these lines to dlete one of the references but with no result until now. My limited knowledge of PHP has brought me to a standstill.
Anyone who can help me out here?
Re: Image Handler 2 Support
Anyone know what is causing this error?
Code:
Warning: Variable passed to each() is not an array or object in /home/andi/public_html/includes/classes/db/mysql/query_factory.php on line 114
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/andi/public_html/includes/classes/db/mysql/query_factory.php:114) in /home/andi/public_html/includes/functions/sessions.php on line 102
Warning: Cannot modify header information - headers already sent by (output started at /home/andi/public_html/includes/classes/db/mysql/query_factory.php:114) in /home/andi/public_html/includes/init_includes/init_templates.php on line 78
Only does in the 1.3.5 upgrade also using the latest version of this mod.
Re: Image Handler 2 Support
this also shows up at the bottom of the page when its installed
Code:
1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'EXPECTED_PRODUCTS_SORT limit MAX_DISPLAY
in:
[select p.products_id, pd.products_name, products_date_available as date_expected from zen_products p, zen_products_description pd, zen_products_to_categories p2c, zen_categories c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '69' and p.products_date_available >=20060916 and p.products_id = pd.products_id and p.products_status = 1 and pd.language_id = '1' order by EXPECTED_PRODUCTS_FIELD EXPECTED_PRODUCTS_SORT limit MAX_DISPLAY_UPCOMING_PRODUCTS]
When this mod is uninstalled it acts normal as if it wasnt there.