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,402

Results 5,721 to 5,740 of 7,094
30 Aug 2010, 1:14 PM
#5721
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

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

Continuing with my problem of certain images not showing up, one thing that is different with this installation is that ultimate seo urls are installed and the images in the bmz_cache are named appropriately for Ultimate SEO - not as the string of letters etc normally seen by zen cart and image handler. Can this be creating problems?

No matter what we've done with the product in recreating the image, renaming etc, has made any difference in whether the image shows or not. If you access the images directly in the cache - such as http://regimental-books.com.au/shop/bmz_cache/i/images/platoon-commanders-notebook-9-platoon-c-coy-3rd-battalion-platoon_commander_notebook-generic-125x175.jpg (dang long image name) - can this be the problem?

It doesn't' show. If you download the image out of the cache it appears perfectly normal.

I have uninstalled image handler, cleared the cache, etc, etc. Anybody come up with any new ideas?

30 Aug 2010, 1:26 PM
#5722
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

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

Just discovered that if I change the title of the product from Platoon Commander's Notebook - 9 Platoon, C Coy, 3rd Battalion to Platoon Commander's Notebook - 9 Platoon, (with comma) it works. Anything past that it doesn't work.

30 Aug 2010, 1:44 PM
#5723
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

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

And solved!

It's the C! Ultimate SEO urls uses the c for category in the htaccess rewrites!

So when using ultimate seo urls and image handler together, avoid using a C, P, M, PI, PR, PRI, EZP in the product title. Each of those are used in the url rewrite for creating specific urls for zen cart pages.

30 Aug 2010, 2:06 PM
#5724
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

Never occurred to me that the SEO module might be the issue, but I did suspect that the Product title MIGHT be the source of the issue. Though you did not have the exact same issue my client did, I do know that the product title will sometime affect how images are displayed... No matter... Glad you got it all worked out now..:clap:

delia:

And solved!

It's the C! Ultimate SEO urls uses the c for category in the htaccess rewrites!

So when using ultimate seo urls and image handler together, avoid using a C, P, M, PI, PR, PRI, EZP in the product title. Each of those are used in the url rewrite for creating specific urls for zen cart pages.

31 Aug 2010, 10:34 AM
#5725
p1lot avatar

p1lot

New Zenner

Join Date:
May 2009
Posts:
69
Plugin Contributions:
0

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

Is there a way to move the watermark to the right bottom corner of the pic?

1 Sep 2010, 11:37 AM
#5726
simpleestated avatar

simpleestated

New Zenner

Join Date:
Aug 2010
Posts:
18
Plugin Contributions:
0

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

Hi all! I am hoping to get some help here. Here's what I've done so far. I've unzipped the files to my hard drive. I then renamed the template folder to my templates name. Next, I tried to upload all of the contents to my store root folder. Everything worked but admin. It asks if you want to overwrite the files since their are already folders such as "includes" "admin" in the store root folder. I select yes. Everything overwrites, admin fails.

I would love any advice as to what I'm doing wrong. Thanks!

1 Sep 2010, 11:47 AM
#5727
simpleestated avatar

simpleestated

New Zenner

Join Date:
Aug 2010
Posts:
18
Plugin Contributions:
0

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

clydejones:

If you are using ZC 1.3.9+

did you also change the name of the admin folder in the IH2 download to match the name of your ZC admin folder?

I am having a similar problem. I never did change my ZC admin name so I left the IH admin names as "admin" and it wont let me overwrite the original admin folder.

1 Sep 2010, 2:47 PM
#5728
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

SimpleeStated:

I am having a similar problem. I never did change my ZC admin name so I left the IH admin names as "admin" and it wont let me overwrite the original admin folder.That's not an issue with IH2.. Sounds like a permissions issue with the admin folder.. If you haven't changed the folder permissions yourself, you'll need to speak to your webhost about why you do not have access to overwrite your admin folder..

1 Sep 2010, 4:02 PM
#5729
simpleestated avatar

simpleestated

New Zenner

Join Date:
Aug 2010
Posts:
18
Plugin Contributions:
0

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

DivaVocals:

That's not an issue with IH2.. Sounds like a permissions issue with the admin folder.. If you haven't changed the folder permissions yourself, you'll need to speak to your webhost about why you do not have access to overwrite your admin folder..

Hi. Yes. It was a permissions problem. I have solved it now and installed IH into my admin but now when I go to add extra images, they are not showing up in my store at all. The hover feature is activated but none of the extra images show. Do you have any idea what I could have done wrong?

1 Sep 2010, 5:37 PM
#5730
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

SimpleeStated:

Hi. Yes. It was a permissions problem. I have solved it now and installed IH into my admin but now when I go to add extra images, they are not showing up in my store at all. The hover feature is activated but none of the extra images show. Do you have any idea what I could have done wrong?Not without any additional information (link to your site helps).. You might try looking at the following. Much of this is covered in the readme troubleshooting section:

  • Main product image and the additional images are not the same file format
  • Main product image naming format
  • You are using Rev 8b of IH2 there is a KNOWN issue with the additional images (the problem and the fix has been posted in this support thread -- this is resolved in Rev 8c)
1 Sep 2010, 6:22 PM
#5731
simpleestated avatar

simpleestated

New Zenner

Join Date:
Aug 2010
Posts:
18
Plugin Contributions:
0

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

DivaVocals:

Not without any additional information (link to your site helps).. You might try looking at the following. Much of this is covered in the readme troubleshooting section:

  • Main product image and the additional images are not the same file format
  • Main product image naming format
  • You are using Rev 8b of IH2 there is a KNOWN issue with the additional images (the problem and the fix has been posted in this support thread -- this is resolved in Rev 8c)

You have been so helpful! I am using version Rev 8b. I will try to look through the pages to find the fix in this thread. Also, my site is http://martingordonusa.com

Thanks for everything!

1 Sep 2010, 6:30 PM
#5732
simpleestated avatar

simpleestated

New Zenner

Join Date:
Aug 2010
Posts:
18
Plugin Contributions:
0

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

DivaVocals:

I must respectfully dispute this.. ANY VERSION downloaded from Tim's site is

  1. Outdated
  1. Not PHP 5.3 compatible
  1. Not compatible with the latest version of Zen Cart (Tims version is over 4 years old there have been MANY core Zen Cart changes since Tim's last release of IH2)
  1. Does not contain ANY of the recent fixes and changes in the current versions of IH2 available (including the security issues recently addressed in Rev8c)

It is NOT recommended or suggested that anyone use the version of IH2 downloaded from Tim's site unless you are running a REALLY old version of Zen Cart (in which case my strong suggestion is that you should upgrade..)

From Tim's site:Want to fix the additional images?? PM me for the latest and greatest version if IH2 (Rec8c). Hopefully we will be able to submit it to the downloads section this weekend. In the meantime PM me for the Rev8c version.

Wanna fix Rev8b?? The issue with additional images seems to only affect certain server configurations. This issue does not affect everyone.. It apparently depends on how your host has implemented PHP. I've posted this information before, but I'll re-post..

IF you are having issues with additional images AND you are running Rev8b (this is FIXED if you are running Rev8c) make the following MINOR change:
Find this around line 47

      if(preg_match("/" . $products_image_base . "/i", $file) == 1) {
> ```
          if(preg_match("/" . $products_image_base . "/i", $file) == '1') {
```That said Rev8b does not address the permissions issues. THIS issue and few minor others are addressed in Rev8c. I highly suggest PMing me to get that version of IH2 until it is available in the downloads section..

Just found this post for the fix. Sorry if this is completely dumb of me to ask, but which file are we going into to look for this code to change?
6 Sep 2010, 5:39 PM
#5733
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

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

I found a 'bug', but I'm not sure if it's with ZC or IH. If you have an apostrophe in the Product Title like "Dad's", IH will not display the hover feature. If you escape the apostrophe with a backslash like you would in PHP code, it works just fine, but shows the backslash in the Product's Title, as well. Anybody else have this problem or know of a fix for it?

6 Sep 2010, 8:51 PM
#5734
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

Get Em Fast:

I found a 'bug', but I'm not sure if it's with ZC or IH. If you have an apostrophe in the Product Title like "Dad's", IH will not display the hover feature. If you escape the apostrophe with a backslash like you would in PHP code, it works just fine, but shows the backslash in the Product's Title, as well. Anybody else have this problem or know of a fix for it?

can you give specifics

  1. an example page
  2. version of Image handler
  3. version of zencart

If you look here it works, unless i am misunderstanding what you mean

6 Sep 2010, 9:17 PM
#5735
dutchy avatar

dutchy

Zen Follower

Join Date:
May 2010
Location:
London
Posts:
324
Plugin Contributions:
0

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

Hello, out of curiosity I Googled ‘bmz_cache‘. The results returned were 100's of links to the bmz_cache folder for websites that have zen cart and IH2 installed. I do not know if this is a security risk or not? I thought it best to post and inform the powers that be about this in case they did not know.

Now, I have tried this on zen cart sites listed in this forum. While this does not work on all the sites I have tried here, I have found that about 70% of sites allow access to the /bmz_cache folder directly. Of those, about 10% allow access to the web space directory tree by using the 'parent directory' link.

Please advice.
Michael

6 Sep 2010, 10:27 PM
#5736
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

dutchy:

Hello, out of curiosity I Googled ‘bmz_cache‘. The results returned were 100's of links to the bmz_cache folder for websites that have zen cart and IH2 installed. I do not know if this is a security risk or not? I thought it best to post and inform the powers that be about this in case they did not know.
The bmz_cache will show up because that is where the images are stored and those links are on your webpages, which the bots crawl, so unless you were to put a disallow bmz_cache directive in your robots.txt file you can't really prevent that appearing in google

dutchy:

Now, I have tried this on zen cart sites listed in this forum. While this does not work on all the sites I have tried here, I have found that about 70% of sites allow access to the /bmz_cache folder directly. Of those, about 10% allow access to the web space directory tree by using the 'parent directory' link.

Please advice.
Michael
Thats more of a server configuration issue, infact it is a bit worrying, most servers are set to disallow the view of directories like that, for most that i have experience if you tried to access the bmz_cache folder eg example.com/bmz_cache/ you'll get a 403 error.

Although perhaps "to idiot proof it" in future it might be an idea to add in an automatic generation of an index.html in each bmz folder

6 Sep 2010, 10:38 PM
#5737
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

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

nigelt74:

The bmz_cache will show up because that is where the images are stored and those links are on your webpages, which the bots crawl, so unless you were to put a disallow bmz_cache directive in your robots.txt file you can't really prevent that appearing in google

Thats more of a server configuration issue, infact it is a bit worrying, most servers are set to disallow the view of directories like that, for most that i have experience if you tried to access the bmz_cache folder eg example.com/bmz_cache/ you'll get a 403 error.

Although perhaps "to idiot proof it" in future it might be an idea to add in an automatic generation of an index.html in each bmz folder

On my server I CAN visit mysite.com/bmz_cache url - can you let me know how I can stop this?

Thanks.

6 Sep 2010, 11:09 PM
#5738
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:

The bmz_cache will show up because that is where the images are stored and those links are on your webpages, which the bots crawl, so unless you were to put a disallow bmz_cache directive in your robots.txt file you can't really prevent that appearing in google
Nods in agreement..:yes:

nigelt74:

Thats more of a server configuration issue, infact it is a bit worrying, most servers are set to disallow the view of directories like that, for most that i have experience if you tried to access the bmz_cache folder eg example.com/bmz_cache/ you'll get a 403 error.

Although perhaps "to idiot proof it" in future it might be an idea to add in an automatic generation of an index.html in each bmz folder
Not all servers.. Bluehost for example does not.. But a directive in your root level .htaccess will do the trick nicely..

For those concerned about this, we've covered this in the Rev8c release through an optional directive in the.htaccess file that is in the bmz_cache folder.

In addition to disallowing the upload of potentially destructive files, the .htaccess includes an optional directive that prevents the viewing of the bmz_cache directory listings without interfering with the images being viewed. (so they will still be indexed by Google unless you include the appropriate directives in your robots.txt file.

IndexIgnore */*
## NOTE: If you want even greater security to prevent hackers from  running scripts in this folder, uncomment the following line (if your  hosting company will allow you to use OPTIONS):
#OPTIONS -Indexes -ExecCGI
``` Uncommenting this optional line will prevent anyone from viewing the image directory listings without blocking image from being seen.

See this in action on my test site.. <http://zentestcart.overthehillweb.com/index.php?main_page=product_info&products_id=1>

FYI, though this seems like an issue it is NOT a TRUE security issue at all.. What IS (and has been corrected in Rev 8c) a real concern with regards to IH2 is that the bmz-Cache folders in older version are not fully protected from the upload of potentially malicious scripts.. The Rev 8c .htaccess file addresses this concern. (We are using the same .htaccess that has been added to many folders in the 1.3.9 Zen Cart releases)
9 Sep 2010, 5:57 AM
#5739
belaze avatar

belaze

New Zenner

Join Date:
Dec 2006
Posts:
84
Plugin Contributions:
0

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

Hey All,
I have IH2 rev 8 installed running along Jquery Lightbox.
Recently I have been noticing that the first image shows twice when I open it in lightbox. For example, if I have 4 images it will open as:
Image 1-5 with #1 and #2 being the same image. I had IH2 rev 7 and upgraded to rev 8 thinking it might solve my problem since I am running 1.3.9D but the problem persist.

Please point me in the right direction, I am not sure what the problem is.

thanks again,
belaze

9 Sep 2010, 5:37 PM
#5740
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

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

nigelt74:

can you give specifics

  1. an example page
  2. version of Image handler
  3. version of zencart

If you look here it works, unless i am misunderstanding what you mean

nigelt.....thanks for the response, but........Yep, you MAY have misunderstood, as it doesn't have any problem hovering the Main Image on the Product Listing Page.......it's the Additional Images on the Product Info page that it won't hover if there's an apostrophe in the Title.

Example of one doing this with the word Dad's in the title:

http://69.89.31.60/~lasercra/index.php?main_page=product_info&cPath=0&products_id=960

Now, here's an example of one that WAS doing the exact same thing, but works just fine now that the apostrophe in the word Mom's was removed:
http://69.89.31.60/~lasercra/index.php?main_page=product_info&cPath=149_5_203&products_id=238

Any ideas?