Zen Cart Logo
Forums / All Other Contributions/Addons / Image Handler 2 (for ZC v1.3.8 ONLY) Support

Image Handler 2 (for ZC v1.3.8 ONLY) Support

Views: 2,510,620

Results 5,041 to 5,060 of 7,094
30 Apr 2010, 11:30 PM
#5041
divavocals avatar

divavocals

Totally Zenned

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

Image Handler 2 (for ZC v1.3.8 ONLY) Support

stellarweb:

To be honest, <wearing my heart on my sleeve> I have "worried" and even taken offense by your posts and because of that I will most certainly not submit updates any other mods to work with 1.3.9 other than the ones I have already submitted HOPING to help the community. I will leave it to others like you to do this and keep my 1.3.9 updated files on my computer and not share them with anyone other than my immediate clients in the future. :(Sorry you were offended.. Not my intent at all.. I was simply expressing an opinion about how I thought things were handled. There was no anger or malice behind anything I wrote.. (though some might assume otherwise) Again, my concerns centered around the fact that the two mods being out there REALLY would have been a cause for confusion. Surely you can see that right?? (hence why this flurry of posts over the last few days..)

It's too bad you will walk away from this not wanting to share with the community as a result.. I personally think that is an extreme response to this whole situation, but certainly your prerogative to do so if you feel strongly about it..:huh:

30 Apr 2010, 11:35 PM
#5042
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

mzimmers:

What product page files are you referring to? I just double-checked a directory compare of the two add-ons, and could find no overlapping files. (I was incorrect in what I said about main_product_image.php above.)I am not at my home computer, but here it is in a nutshell.. Somewhere between installing the lightbox and Zen Cart, something is not working on your product page.. It doesn't appear to be a setting, so that leads me to believe it's in the install of the lightbox add-on.. It's possible that it could be another add-on that is causing the problem.. Whatever it is, there is clearly code missing on the product pages that IH2 needs to display the watermarks properly on that page.

30 Apr 2010, 11:49 PM
#5043
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

DivaVocals:

I am not at my home computer, but here it is in a nutshell.. Somewhere between installing the lightbox and Zen Cart, something is not working on your product page.. It doesn't appear to be a setting, so that leads me to believe it's in the install of the lightbox add-on.. It's possible that it could be another add-on that is causing the problem.. Whatever it is, there is clearly code missing on the product pages that IH2 needs to display the watermarks properly on that page.

OK, I can believe that, but again, what exactly do you mean by "the product pages?"

If I have to, I'll delete all the remote copy of both add-ons and re-install, but I'd like some evidence that this will do anything. And, my directory compares reveal no such evidence.

30 Apr 2010, 11:56 PM
#5044
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

DarkAngel:

if you got this after the 1.3.9 upgrade then go to your cche folder and set its permissions to 777 or 755 on some servers

then go to the page again to see the blank page.

go back to the cache folder and open the file in there to see the error message, it may tell you what or where to start looking.

post it here for help.
Opps sorry for wasting your time but I am not getting an error,

What i was referring to was Clyde Jones saying that image handler was working on php 5.3 which it should if error reporting is turned off, however image handler contains depreciated functions specifically ereg_replace and possibly others, i haven't had a chance to look, which means that if error reporting is turned on, your site will be showing warnings at the top of the page, saying something like

Deprecated: Function ereg_replace() is deprecated in blabla

Turning on error reporting would help to find what those errors are, should make it easy to fix image handler to be compatible with php 5.3, unfortunately i don't have access to a php 5.3 server, although I am as we speak downloading one

1 May 2010, 12:12 AM
#5045
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

nigelt74:

Opps sorry for wasting your time but I am not getting an error,

What i was referring to was Clyde Jones saying that image handler was working on php 5.3 which it should if error reporting is turned off, however image handler contains depreciated functions specifically ereg_replace and possibly others, i haven't had a chance to look, which means that if error reporting is turned on, your site will be showing warnings at the top of the page, saying something like

Deprecated: Function ereg_replace() is deprecated in blabla

Turning on error reporting would help to find what those errors are, should make it easy to fix image handler to be compatible with php 5.3, unfortunately i don't have access to a php 5.3 server, although I am as we speak downloading one

Some of those ereg_replace() functions have been corrected in some of the files that need to be compared/merged with IH2.

So after doing the comparing/merging I'm not getting the deprecated error(s)

1 May 2010, 12:13 AM
#5046
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Would you like to look at the version I am working on to check for any functions I may have missed??

nigelt74:

Opps sorry for wasting your time but I am not getting an error,

What i was referring to was Clyde Jones saying that image handler was working on php 5.3 which it should if error reporting is turned off, however image handler contains depreciated functions specifically ereg_replace and possibly others, i haven't had a chance to look, which means that if error reporting is turned on, your site will be showing warnings at the top of the page, saying something like

Deprecated: Function ereg_replace() is deprecated in blabla

Turning on error reporting would help to find what those errors are, should make it easy to fix image handler to be compatible with php 5.3, unfortunately i don't have access to a php 5.3 server, although I am as we speak downloading one

1 May 2010, 12:21 AM
#5047
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

mzimmers:

OK, I can believe that, but again, what exactly do you mean by "the product pages?"The page where the watermarks are NOT working. The product detail page (the page with the product pictures, description, attributes, pricing etc).

mzimmers:

If I have to, I'll delete all the remote copy of both add-ons and re-install, but I'd like some evidence that this will do anything. And, my directory compares reveal no such evidence.You are looking at the evidence.. The image which shows on the product detail page is the medium size image, and there is NO watermark. The large image (which shows when you click the image on the product page) has NO watermark

On the other hand, the product listing page (which contains a LIST of products) has watermarks on the small images, and when you hover over them the MEDIUM images display WITH watermarks..

So clearly the issue is in something being installed wrong.. I suspect that something which affects the product image display on the product detail page is MISSING code which IH2 needs to display the watermarks.. Now I can't tell you WHAT is missing, but I can tell you based on what I see what the issue likely is. It's not a IH2 setting.. Your settings are fine.. The INSTALL is the issue.. and I don't know if it's IH2, the lightbox module or another module you've installed.. but something is not installed properly and is causing the watermarks to not work..

1 May 2010, 12:24 AM
#5048
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

clydejones:

Some of those ereg_replace() functions have been corrected in some of the files that need to be compared/merged with IH2.

So after doing the comparing/merging I'm not getting the deprecated error(s)And a few aren't which is the change I was going to submit.. It's not a BIG change at all..

1 May 2010, 1:40 AM
#5049
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

DivaVocals:

So clearly the issue is in something being installed wrong.. I suspect that something which affects the product image display on the product detail page is MISSING code which IH2 needs to display the watermarks.. Now I can't tell you WHAT is missing, but I can tell you based on what I see what the issue likely is. It's not a IH2 setting.. Your settings are fine.. The INSTALL is the issue.. and I don't know if it's IH2, the lightbox module or another module you've installed.. but something is not installed properly and is causing the watermarks to not work..

OK, I just wiped out every file pertaining to IH2 and re-installed from a fresh copy. (I believe that in so doing, I've removed Lightbox from the equation, as I'm not getting watermarks in places that have nothing to do with Lightbox.)

Behavior is the same.

For the life of me, I don't know what to do now. There are a couple of files that differ between the IH2 versions and the v139 versions, but trying to determine which change to pick up is an absolute guessing game for me.

I think I'm just going to have to give up on this, and do without watermarks, as I'm absolutely out of ideas.

Thank you to everyone who tried to get this working with me.

1 May 2010, 2:15 AM
#5050
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

mzimmers:

OK, I just wiped out every file pertaining to IH2 and re-installed from a fresh copy. (I believe that in so doing, I've removed Lightbox from the equation, as I'm not getting watermarks in places that have nothing to do with Lightbox.)

Behavior is the same.

For the life of me, I don't know what to do now. There are a couple of files that differ between the IH2 versions and the v139 versions, but trying to determine which change to pick up is an absolute guessing game for me.

I think I'm just going to have to give up on this, and do without watermarks, as I'm absolutely out of ideas.

Thank you to everyone who tried to get this working with me.

Someone else is going to probably correct me here, but bear with me
on this page
http://www.cinderellaantiques.com/index.php?main_page=product_info&cPath=0&products_id=14

The link for the bigger image - this is the code that is appearing on your page

<a title="Napier Sterling Brooch" rel="lightbox-g" href="images//products/jewelry/brooches/100002.jpg">
<img width="240" height="180" title=" Napier Sterling Brooch " alt="Napier Sterling Brooch" src="bmz_cache/6/6209beca6b535c306215c0a434bee30f.image.240x180.jpg">
<br>
<span class="imgLink">larger image</span>
</a>

if you look at your href it is images//products/jewelry/brooches/100002.jpg

  1. note the double slash
  2. also that image will never be watermarked as it isn't coming from imagehandlers bmz_cache

I know nothing about lightbox, but i assume there is a way to make it recognise imagehandler

1 May 2010, 2:27 AM
#5051
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Lightbox apparently does give you the option to watermark your large images provided you have the watermark PNG in your images folder

1 May 2010, 2:39 AM
#5052
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Just for comparison Micheal

This code is taken from

http://fantasiesrealm.com/market/index.php?main_page=product_info&cPath=133&products_id=518
Which is DarkAngels site

<a title="Fantasy Realms 2010 Calendar" rel="lightbox-g" href="bmz_cache/6/61c2f367159ac30e1bfb5ea647b78a31.image.408x320.jpeg">
<img width="225" height="176" title=" Fantasy Realms 2010 Calendar " alt="Fantasy Realms 2010 Calendar" src="bmz_cache/4/422553687778162b77707aec2943d187.image.225x176.jpeg">
<br>
<span class="imgLink">larger image</span></a>

as you can see the HREF in her link is pointing at the bmzcache, also if you note when you click on the link the image is watermarked.

It might be an idea to post your page here, as it seems you should be able to get the large waterarked image through image handler, unless DarkAngel has used some strange voodoo to do it

1 May 2010, 2:55 AM
#5053
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Thanks for the reply, Nigel.

The double slash is interesting, and worth tracking down, but I don't think it's coming into play here. The UNIX file system should be able to look past that.

So, the obvious question is, what do I need to do to get my shop to point to the bmzcache? All I did to put the images into my shop was to upload a directory structure and have the Easy Populate file point to those products when I created them. Did I omit a key step? (I did experiment with uploading one image via IH2, and that didn't get watermarked, either.)

Or, to ask a different way: is it necessary to manually upload each image via IH2 to get the watermark? This would seem odd, since IH2 does indeed see the images. Plus, I am able to get watermarks on my small images.

What exactly do you mean by "post your page here?" Explain and I'll do it.

1 May 2010, 6:38 AM
#5054
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

mzimmers:

Thanks for the reply, Nigel.

The double slash is interesting, and worth tracking down, but I don't think it's coming into play here. The UNIX file system should be able to look past that.

**So, the obvious question is, what do I need to do to get my shop to point to the bmzcache? All I did to put the images into my shop was to upload a directory structure and have the Easy Populate file point to those products when I created them. Did I omit a key step? (I did experiment with uploading one image via IH2, and that didn't get watermarked, either.)
**
Or, to ask a different way: is it necessary to manually upload each image via IH2 to get the watermark? This would seem odd, since IH2 does indeed see the images. Plus, I am able to get watermarks on my small images.

What exactly do you mean by "post your page here?" Explain and I'll do it.To be perfectly honest NONE of us in here can really answer this.. We are at this point GUESSING since none of us can see your store's back end files. The issue stems from the fact that ALL of the image on your product detail pages are NOT reading from the IH2 cache folders, and that can only mean that some other module you are using is interfering with that process in some way.. Which module??? NO CLUE.. The lightbox contrib seemed most likely, but it may not be that.. Could be EZ Populate, could be something else.. I wish I could help more, but I am out of ideas here.. I strongly suggest searching this support thread and seeing if any other issues with EZ Populate pop up..

1 May 2010, 6:39 AM
#5055
divavocals avatar

divavocals

Totally Zenned

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

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

nigelt74:

Just for comparison Micheal

This code is taken from

http://fantasiesrealm.com/market/index.php?main_page=product_info&cPath=133&products_id=518
Which is DarkAngels site

<a title="Fantasy Realms 2010 Calendar" rel="lightbox-g" href="bmz_cache/6/61c2f367159ac30e1bfb5ea647b78a31.image.408x320.jpeg"> <img width="225" height="176" title=" Fantasy Realms 2010 Calendar " alt="Fantasy Realms 2010 Calendar" src="bmz_cache/4/422553687778162b77707aec2943d187.image.225x176.jpeg"> <br> <span class="imgLink">larger image</span></a> ```as you can see the HREF in her link is pointing at the bmzcache, also if you note when you click on the link the image is watermarked. > > It might be an idea to post your page here, as it seems you should be able to get the large waterarked image through image handler, unless DarkAngel has used some strange voodoo to do itIH2 is a straight forward install.. It should just WORK.. Clearly there is another add-on that is interfering, and it's hard to say which one working in the blind..:no:
1 May 2010, 2:07 PM
#5056
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

DivaVocals:

IH2 is a straight forward install.. It should just WORK.. Clearly there is another add-on that is interfering, and it's hard to say which one working in the blind..:no:

Hi, Diva –

Since I completely reinstalled IH2 last night, and overwrote EVERY file in my shop with the IH2 counterpart, doesn't that rule out any other add-on interfering? If anything, it would seem that my doing that would break the other add-ons.

1 May 2010, 6:35 PM
#5057
stellarweb avatar

stellarweb

Zen Follower

Join Date:
May 2006
Location:
Montana
Posts:
293
Plugin Contributions:
8

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Yes, you are definately right about it being an extreme response - but when it is my good name and reputation on the line that I have worked for years to establish - with me any way. it emitted that extreme response.

I PM'd Dr. Byte yesterday to please remove it because of this thread - and he did so very quickly - THANKS Dr. Byte!

I am "over it" now and back to my usual not freaking out self :D and will continue to support this community with updates of other mods as I can and hope that it will be a much better experience than what trying to help in this case was. I have been building sites with zen cart since version 1.2.4 and have been in love with it from the first day I used it - and will not let an incident like this sway that dedication to this software, the developers and the community that uses it. :yes:

DivaVocals:

Sorry you were offended.. Not my intent at all.. I was simply expressing an opinion about how I thought things were handled. There was no anger or malice behind anything I wrote.. (though some might assume otherwise) Again, my concerns centered around the fact that the two mods being out there REALLY would have been a cause for confusion. Surely you can see that right?? (hence why this flurry of posts over the last few days..)

It's too bad you will walk away from this not wanting to share with the community as a result.. I personally think that is an extreme response to this whole situation, but certainly your prerogative to do so if you feel strongly about it..:huh:

1 May 2010, 7:29 PM
#5058
mzimmers avatar

mzimmers

Zen Follower

Join Date:
May 2008
Posts:
453
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

OK, I'm not quite ready to give up yet.

I've created a brand new DB, and a brand new install of v139. To this new install, I added IH2.

I believe there were three potential file conflicts between v139 and IH2. In all three cases, I took the IH2 files whole.

No new templates. No other add-ons. NOTHING but v139 and IH2.

I added two products. One I gave an image via the standard method (through editing the product details). The other, I gave an image via IH2.

I've set image settings for watermarks on medium and large images.

I get watermarks on rollover, but not on the images. Identical behavior to my working shop.

What on earth could I be doing wrong here? I think I've eliminated most of the variables.

Thanks.

1 May 2010, 9:59 PM
#5060
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

mzimmers:

Oops...here's the site if anyone wants to look at it:

http://www.cinderellaantiques.com/shop_v139_test/

Hi Michael

Not sure about the medium issue BUT You have the same issue regarding the large image, Image handler isn't installed correctly, when you click on the image and the larger one appears in the pop-up, the large image isn't water marked because it isn't going through image handler.

I don't know what browser you are using, but when you open the pop-up large image, right click on it and select image properties and it will teel you

http://www.cinderellaantiques.com/shop_v139_test/images/100001.jpg

is the image that is appearing

if imagehandler was working on the image, it would say
something like
http://www.cinderellaantiques.com/shop_v139_test/bmz_cache/6/fkjhajkfhgfhjgfsdkj.jpg

are you putting the popup-image file included with image handler up (I think thats the one, someone will need to correct me)

EDIT_________________________________________________

have a look at this
http://www.cinderellaantiques.com/shop_v139_test/bmz_cache/0/08bdcb048e6cf1059dfe1167ca8af412.image.640x480.png

Image handler is working something is not correct in the pop-upcode