Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
icemint
I did. That's how I see it working in my website.
I see in Administration > Image setting menus:
- IH small images watermark
- IH medium images watermark
- IH large images watermark
I confirmed above switches were working properly in the website. But I don't believe the product listing images are controlled by none of above. I wish to watermark the images in the product listings.
Am I missing something?
Post ALL your image settings and post a link to your site.. without this I cannot answer..
FYI IH4 features work on ALL product and category images EVERYWHERE on the site including product listings..
Re: Image Handler 4 Support Thread
I come for help once again :-) ok, im not using hover effects so i want to get rid of this because i dont want to call on something i dont use for mobile sake.
HTML Code:
<script type="text/javascript" src="includes/templates/domak/jscript/jscript_imagehover.js"></script>
What i did was comment out these lines of init_image_handler.php
HTML Code:
// $template_files = array(
// array(DIR_FS_CATALOG.'includes/modules/'.$current_template.'/additional_images.php',DIR_FS_CATALOG.'includes/modules/IH_INSTALL/additional_images.php'),
// array(DIR_FS_CATALOG.'includes/modules/'.$current_template.'/main_product_image.php',DIR_FS_CATALOG.'includes/modules/IH_INSTALL/main_product_image.php'),
// array(DIR_FS_CATALOG.'includes/templates/'.$current_template.'/css/style_imagehover.css',DIR_FS_CATALOG.'includes/templates/IH_INSTALL/css/style_imagehover.css'),
// array(DIR_FS_CATALOG.'includes/templates/'.$current_template.'/jscript/jscript_imagehover.js',DIR_FS_CATALOG.'includes/templates/IH_INSTALL/jscript/jscript_imagehover.js'),
// array(DIR_FS_CATALOG.'includes/templates/'.$current_template.'/popup_image_additional/tpl_main_page.php',DIR_FS_CATALOG.'includes/templates/IH_INSTALL/popup_image_additional/tpl_main_page.php')
// );
Everything seems to work fine, but did i overlook something?
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
karinvd
I come for help once again :-) ok, im not using hover effects so i want to get rid of this because i dont want to call on something i dont use for mobile sake.
HTML Code:
<script type="text/javascript" src="includes/templates/domak/jscript/jscript_imagehover.js"></script>
What i did was comment out these lines of init_image_handler.php
HTML Code:
// $template_files = array(
// array(DIR_FS_CATALOG.'includes/modules/'.$current_template.'/additional_images.php',DIR_FS_CATALOG.'includes/modules/IH_INSTALL/additional_images.php'),
// array(DIR_FS_CATALOG.'includes/modules/'.$current_template.'/main_product_image.php',DIR_FS_CATALOG.'includes/modules/IH_INSTALL/main_product_image.php'),
// array(DIR_FS_CATALOG.'includes/templates/'.$current_template.'/css/style_imagehover.css',DIR_FS_CATALOG.'includes/templates/IH_INSTALL/css/style_imagehover.css'),
// array(DIR_FS_CATALOG.'includes/templates/'.$current_template.'/jscript/jscript_imagehover.js',DIR_FS_CATALOG.'includes/templates/IH_INSTALL/jscript/jscript_imagehover.js'),
// array(DIR_FS_CATALOG.'includes/templates/'.$current_template.'/popup_image_additional/tpl_main_page.php',DIR_FS_CATALOG.'includes/templates/IH_INSTALL/popup_image_additional/tpl_main_page.php')
// );
Everything seems to work fine, but did i overlook something?
What exactly are you trying to do? Are you trying to take away the calls for image hover on the customer side, admin side or BOTH? By the way, there was no need to touch that file if you only wanted that hover feature disabled.
Re: Image Handler 4 Support Thread
No, i disabled it anyway in admin. But when loading the page it still looked for script/jscript_imagehover.js and that's using unnecessary loading time. And because a lot of customers using phones i wanted to get rid of it. It works fine, but i'm always scared i overlook some consequences. English is not my native language so sometimes is hard to express myself clearly :-)
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
karinvd
No, i disabled it anyway in admin. But when loading the page it still looked for script/jscript_imagehover.js and that's using unnecessary loading time. And because a lot of customers using phones i wanted to get rid of it. It works fine, but i'm always scared i overlook some consequences. English is not my native language so sometimes is hard to express myself clearly :-)
Wasn't meant to be negative in my post, just wanted more information to know what you wanted.
That is easily doable without touching those files. Bascially the way zencart works is that it loads all files in the jscript folder starting with "jscript_" and all css files in the css folder starting with "style". So to stop them from loading, just remove them or or take away the "jscript" and "style" from the file name. Once that is done, those files will never be loaded on your store side. I have done this in the past as image hover is really not needed and customers do get annoyed by things popping up on their screen.
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
karinvd
No, i disabled it anyway in admin. But when loading the page it still looked for script/jscript_imagehover.js and that's using unnecessary loading time. And because a lot of customers using phones i wanted to get rid of it. It works fine, but i'm always scared i overlook some consequences. English is not my native language so sometimes is hard to express myself clearly :-)
If you want to turn off the image hover there is an admin setting to manage that and the image popup STOPS.. if you don't want the javascript and CSS file which supports the image hover to load, then remove the JS and CSS files from your templates JS and CSS folders... No need to touch ANY of the IH4 code AT ALL..
Re: Image Handler 4 Support Thread
@yatitai it was not taken as negative, thanks for replying! @ divavocals, thanks for the reply! I learned again something today :-) thank you for being there.
Re: Image Handler 4 Support Thread
I tried to install without result. I tried it on a clean install, and on my webshop. It keeps saying:
Code:
Missing or unreadable file:mywebshop.nl/public_html/fargesiabamboe/bmz_cache/.htaccess
There's no htaccess in that map on my ftp client.
How can I fix this issue?
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
tomdonker
I tried to install without result. I tried it on a clean install, and on my webshop. It keeps saying:
Code:
Missing or unreadable file:mywebshop.nl/public_html/fargesiabamboe/bmz_cache/.htaccess
There's no htaccess in that map on my ftp client.
How can I fix this issue?
Sounds like bad upload of the files.
You could copy (ftp) the .htaccess from the bmz_cache directory in the mod directly into this directory on the server.
Then see if any "other" errors appear?
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
gilby
Sounds like bad upload of the files.
You could copy (ftp) the .htaccess from the bmz_cache directory in the mod directly into this directory on the server.
Then see if any "other" errors appear?
Thank you for replying. My extractor didn't extract htacess, so I guess that's the problem. Will try with another extract program later.