Zen Cart Logo
Forums / All Other Contributions/Addons / Image Handler 4 (for v1.5.x) Support Thread

Image Handler 4 (for v1.5.x) Support Thread

Views: 343,302

Results 1,121 to 1,140 of 1,691
26 Jun 2014, 12:39 AM
#1121
icemint avatar

icemint

New Zenner

Join Date:
Jan 2008
Posts:
32
Plugin Contributions:
0

Image Handler 4 (for v1.5.x) Support Thread

DivaVocals:

Image Handler manages ALL product and category images ANYWHERE on the site.. if that is not your result it likely means that part of the install or configuration is incorrect. Please go back to the readme configuration and usage section and make SURE all of your settings are correct.

if after checking everything you still have issues, you will want to post a link to a page where we can see the issue you are reporting and you will need to post your configuration image settings..

I should have be more careful in stating my quest. You are right! IH does process the images in product listings.
My question should be how can I watermark the product listing images? Thanks!

26 Jun 2014, 1:45 AM
#1122
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 4 (for v1.5.x) Support Thread

icemint:

I should have be more careful in stating my quest. You are right! IH does process the images in product listings.
My question should be how can I watermark the product listing images? Thanks!

Did you follow the instructions in the readme???

26 Jun 2014, 2:25 PM
#1123
icemint avatar

icemint

New Zenner

Join Date:
Jan 2008
Posts:
32
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

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?

26 Jun 2014, 5:04 PM
#1124
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 4 (for v1.5.x) Support Thread

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..

2 Jul 2014, 8:35 AM
#1125
karinvd avatar

karinvd

New Zenner

Join Date:
Nov 2012
Location:
Utrecht, Nederland
Posts:
43
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) 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.

<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

  //  $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?

2 Jul 2014, 9:55 AM
#1126
yaritai avatar

yaritai

Zen Follower

Join Date:
Apr 2014
Posts:
154
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

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.

<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
  //  $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.

2 Jul 2014, 11:06 AM
#1127
karinvd avatar

karinvd

New Zenner

Join Date:
Nov 2012
Location:
Utrecht, Nederland
Posts:
43
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) 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 :-)

2 Jul 2014, 12:32 PM
#1128
yaritai avatar

yaritai

Zen Follower

Join Date:
Apr 2014
Posts:
154
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

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.

2 Jul 2014, 12:48 PM
#1129
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 4 (for v1.5.x) Support Thread

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..

2 Jul 2014, 2:21 PM
#1130
karinvd avatar

karinvd

New Zenner

Join Date:
Nov 2012
Location:
Utrecht, Nederland
Posts:
43
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) 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.

3 Jul 2014, 9:27 AM
#1131
tomdonker avatar

tomdonker

New Zenner

Join Date:
Mar 2011
Posts:
18
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

I tried to install without result. I tried it on a clean install, and on my webshop. It keeps saying:

 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?

3 Jul 2014, 10:05 AM
#1132
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

tomdonker:

I tried to install without result. I tried it on a clean install, and on my webshop. It keeps saying:

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?
3 Jul 2014, 12:08 PM
#1133
tomdonker avatar

tomdonker

New Zenner

Join Date:
Mar 2011
Posts:
18
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

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.

6 Jul 2014, 11:02 PM
#1134
stiggybaby avatar

stiggybaby

New Zenner

Join Date:
Apr 2011
Posts:
91
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

All of my small and medium images are grayscale .gif (you could say clip art, but basically they are scans from the mfg catalog that has a basic pencil outline drawing of the part.

My large images are all .jpg camera photographs of the actual part.

I've searched and googled around and cannot find any mod that allows mixing of image types.

Is there a code modification to allow mixed image file formats yet?

If not, is can I edit a file that would accomplish this? Set up a variable for the file extension, or a file extension swap for the large image, or a wild card or something?

There is SUCH a HUGE difference in sizes to make all of them jpg or all png that I really, really, really like to make mixed types possible.

7 Jul 2014, 4:17 AM
#1135
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Image Handler 4 (for v1.5.x) Support Thread

stiggybaby:

There is SUCH a HUGE difference in sizes to make all of them jpg or all png that I really, really, really like to make mixed types possible.
stiggybaby:

My large images are all .jpg camera photographs of the actual part.
Make these .gif using your favorite graphics editor

7 Jul 2014, 5:23 AM
#1136
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 4 (for v1.5.x) Support Thread

stiggybaby:

All of my small and medium images are grayscale .gif (you could say clip art, but basically they are scans from the mfg catalog that has a basic pencil outline drawing of the part.

My large images are all .jpg camera photographs of the actual part.

I've searched and googled around and cannot find any mod that allows mixing of image types.

Is there a code modification to allow mixed image file formats yet?

If not, is can I edit a file that would accomplish this? Set up a variable for the file extension, or a file extension swap for the large image, or a wild card or something?

There is SUCH a HUGE difference in sizes to make all of them jpg or all png that I really, really, really like to make mixed types possible.

The reason you are not finding a module for this is that it requires a substantial change to the default image management.. You can pay for a developer to make this change for you.. or you can take Kobra's suggestion or my prior suggestions to you..

7 Jul 2014, 11:28 AM
#1137
stiggybaby avatar

stiggybaby

New Zenner

Join Date:
Apr 2011
Posts:
91
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

DivaVocals:

The reason you are not finding a module for this is that it requires a substantial change to the default image management.. You can pay for a developer to make this change for you.. or you can take Kobra's suggestion or my prior suggestions to you..

Of coarse I already tried changing the large product photographs into gif but, as expected, the appearance is less than professional (looks bad).

I am surprised that this would be a substantial change since it would be just the extension for large images at we're talking about. I really thought it would have been a small, minor change to do something like ignore the extension, or swap it.

Ok.

7 Jul 2014, 12:57 PM
#1138
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Image Handler 4 (for v1.5.x) Support Thread

stiggybaby:

Of coarse I already tried changing the large product photographs into gif but, as expected, the appearance is less than professional (looks bad).

I am surprised that this would be a substantial change since it would be just the extension for large images at we're talking about. I really thought it would have been a small, minor change to do something like ignore the extension, or swap it.

Ok.
Seriously this is a NON ISSUE if you simply use Image Handler as it convert your small and medium images to JPGs OR it can create the small and medium images from the large image you upload.. then there is no need to try and work out your mixed filetype issue..

Otherwise unless someone shares the code to do this, you will have to hire someone to provide the code changes you need if you really MUST have this change..

7 Jul 2014, 1:19 PM
#1139
stiggybaby avatar

stiggybaby

New Zenner

Join Date:
Apr 2011
Posts:
91
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

DivaVocals:

Seriously this is a NON ISSUE if you simply use Image Handler as it convert your small and medium images to JPGs OR it can create the small and medium images from the large image you upload.. then there is no need to try and work out your mixed filetype issue..

Otherwise unless someone shares the code to do this, you will have to hire someone to provide the code changes you need if you really MUST have this change..

I have a fantastic, powerful, bulk image editor/converter software program, but that's not my need.

Thanks, but I think that you did not read my post.

As I stated, all of my small and medium images are grayscale .gif (you could say clip art, but basically they are scans from the mfg catalog that has a basic pencil outline drawing of the part. My large images are all .jpg camera photographs of the actual part.

So, HOW IS IMAGE HANDLER GOING TO CREATE small and medium GRAYSCALE GIF IMAGES WITH TEXT FROM MFG CATALOG SCANS (that are basically outline drawings of the product) from LARGE, COLOR ACTUAL PRODUCT PHOTOGRAPHS?

They are 2 different images as well as 2 different file types, and the medium is no good for a large image due to what it is, and the large image is no good for a medium, nor small image due to what and how it is, but that's really not the point nor the issue...

Also, I should clarify that 100% of my small and medium images are the gifs, and 100% of the large images are the photograph jpgs, so I'm not looking for a mod that is so complex as to try to recognize mixed image types throughout the different uses of image handling.

Just a simple extension ignore, or swap, or whatever for the large _LARGE. image program section.

7 Jul 2014, 1:32 PM
#1140
stiggybaby avatar

stiggybaby

New Zenner

Join Date:
Apr 2011
Posts:
91
Plugin Contributions:
0

Re: Image Handler 4 (for v1.5.x) Support Thread

I appreciate you taking the time to help me out, but perhaps I caused you a bit of confusion by not explaining the situation very well.

Anyway, if I'm wrong that something like this is not a fairly simple code edit, then I guess that I'll just have to live with unnecessary large file sizes, unnecessary bandwidth usage, slower page loading, and poor image quality. I think making everything jpg would look better than converting the photographs into gifs...

On screen and in though it just seemed like it wouldn't be a complicated code edit.