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

Results 6,641 to 6,660 of 7,094
7 Apr 2011, 3:10 PM
#6641
breauxlg avatar

breauxlg

New Zenner

Join Date:
Jun 2010
Location:
New Iberia, LA
Posts:
50
Plugin Contributions:
0

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

The image file name suffixes are case sensitive for multiple and extra size images. If your base image is picture.jpg and your large picture is named picture_LRG.JPG it won't find it. It needs to be picture_LRG.jpg (same case suffix)

7 Apr 2011, 6:04 PM
#6642
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

breauxlg:

The image file name suffixes are case sensitive for multiple and extra size images. If your base image is picture.jpg and your large picture is named picture_LRG.JPG it won't find it. It needs to be picture_LRG.jpg (same case suffix)Not sure who you are addressing this too (should say, I'm not sure which post in this support thread this is in reply to), but the image suffixes is probably the ONLY part of the default Zen image functions that IH2 does NOT use.. You only need to upload your largest image, IH2 takes care of creating and naming your small and medium images.. and NONE of this activity requires the use of image suffixes being included in the file names you upload.. IH2 takes care of all the work for you..

7 Apr 2011, 9:15 PM
#6643
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

Luvmoomoo:

you know what... I found the .htaccess in the bmz_cache and it shows:

but now allow just certain necessary files:

<FilesMatch ".*.(jpe?g|JPE?G|gif|GIF|png|PNG|swf|SWF)$" >
Order Allow,Deny
Allow from all
</FilesMatch>

> 
> Then i swapped a pic to GIF... it got displayed and the hover worked too.. except for the watermark.. 
> Do you think its got to do with the JPEG or any configs?
> 
> I changed it to: 
> ```
# but now allow just *certain* necessary files:
<FilesMatch ".*\.([B]jpeg|JPEG[/B]|gif|GIF|png|PNG|swf|SWF)$" >
  Order Allow,Deny
  Allow from all
</FilesMatch>

But no changes...

Here's how it looks like from the admin page:

Thank you sooo much...

  1. If you turn off image handler, do the images show?

and
<FilesMatch ".*.(jpe?g|JPE?G|gif|GIF|png|PNG|swf|SWF)$" >

is the same as

<FilesMatch ".*.(jpeg|JPEG|jpg|JPG|gif|GIF|png|PNG|swf|SWF)$" >

the question mark means the e in jpeg is optional (as most jpegs end in jpg that handy)

You could try removing (temporarily) the .htaccess files on the images folder and the bmz_cache, but its pretty unlikely these are the problem.

Did those errors in your cache show up after you had altered the setting in your .htaccess file?

8 Apr 2011, 12:41 AM
#6644
dni avatar

dni

New Zenner

Join Date:
Oct 2006
Posts:
64
Plugin Contributions:
0

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

RoPey:

Hi
I'm using ZenCart 1.3.7.1 for one of my customers (planning a full upgrade over the next month or so) and recently added Zen LightBox at their request. However, after that install the additional images ceased to display. I found that people said that Image Handler solves this issue, so installed Image Handler Version 2 for 1.3.7.

However, although the install works fine and I can see the additional images in the Admin area for IH, I still do not see the additional images on the products themselves.

I found on this thread http://www.zen-cart.com/forum/showthread.php?t=35913&page=645 that apparently the order in which these two mods are installed makes a difference, but apparently the additional_images.php file is the key and the ZLB should be the one used. I've made sure that this is one being used but still see no additional images.

Can anyone tell me which bit of code actually controls the appearance of the additional images?

Thanks

I am having a similar issue (additional images not showing up after lightbox upgrade) so i am about to upgrade. (from IH2 1.5 to 2.0 rev8 running in ZC 1.38a)

My question is that the Read Me file states:

  • "BEFORE you install the Rev 8c files, you MUST uninstall the currently running version of Image Handler2 1.3.x. In Admin > Tools >Image Handler2 click on the "Admin" link, and click on "Remove Image Handler from database""*

If i do this an re-install, will my additional images still be there, or will i need to start from scratch?

8 Apr 2011, 1:56 AM
#6645
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

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

dni:

I am having a similar issue (additional images not showing up after lightbox upgrade) so i am about to upgrade. (from IH2 1.5 to 2.0 rev8 running in ZC 1.38a)

My question is that the Read Me file states:

  • "BEFORE you install the Rev 8c files, you MUST uninstall the currently running version of Image Handler2 1.3.x. In Admin > Tools >Image Handler2 click on the "Admin" link, and click on "Remove Image Handler from database""*

If i do this an re-install, will my additional images still be there, or will i need to start from scratch?

your images should still be there when you get done with the upgrade...but you really should upgrade both the store and the ih2...that version of store is prone to hacking and the newest is great

then when you get it upgraded remember to use the additional_pages.php from lightbox instead of the one with IH2 so they both play well together...I think that is the one

8 Apr 2011, 2:29 AM
#6646
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

Yes your images will still be there.. IH2 uses your original images to generate the images it uses in the bmz_cache folder..

dni:

I am having a similar issue (additional images not showing up after lightbox upgrade) so i am about to upgrade. (from IH2 1.5 to 2.0 rev8 running in ZC 1.38a)

My question is that the Read Me file states:

  • "BEFORE you install the Rev 8c files, you MUST uninstall the currently running version of Image Handler2 1.3.x. In Admin > Tools >Image Handler2 click on the "Admin" link, and click on "Remove Image Handler from database""*

If i do this an re-install, will my additional images still be there, or will i need to start from scratch?

8 Apr 2011, 8:23 AM
#6647
luvmoomoo avatar

luvmoomoo

New Zenner

Join Date:
Jun 2009
Posts:
22
Plugin Contributions:
0

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

nigelt74:

  1. If you turn off image handler, do the images show?

and
<FilesMatch ".*.(jpe?g|JPE?G|gif|GIF|png|PNG|swf|SWF)$" >

is the same as

<FilesMatch ".*.(jpeg|JPEG|jpg|JPG|gif|GIF|png|PNG|swf|SWF)$" >

the question mark means the e in jpeg is optional (as most jpegs end in jpg that handy)

You could try removing (temporarily) the .htaccess files on the images folder and the bmz_cache, but its pretty unlikely these are the problem.

Did those errors in your cache show up after you had altered the setting in your .htaccess file?

woww.. I deleted the .htaccess from the bmz_cache folder and it worked... :clap:

Is it ok for the file to be deleted? :dontgetit

8 Apr 2011, 12:35 PM
#6648
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

Luvmoomoo:

woww.. I deleted the .htaccess from the bmz_cache folder and it worked... :clap:

Is it ok for the file to be deleted? :dontgetitI wouldn't recommend this.. The purpose of the .htaccess file is to protect the bmz_cache folder.. It prevents the upload of files to these folders that should NOT be there -- in this case it restricts the allowed filetypes to image, PDF and SWF files. The .htaccess file in the bmz_cache folder is the SAME one used in the Zen Cart v1.3.9 images folder.. So if it works in the Zen Cart images folder, there's no reason for it to not work in the bmz_cache folder.. Did you modify the one that came with IH2??

8 Apr 2011, 8:05 PM
#6649
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

Luvmoomoo:

woww.. I deleted the .htaccess from the bmz_cache folder and it worked... :clap:

Is it ok for the file to be deleted? :dontgetit

Not really, they are a security feature, try uploading a fresh .htaccess file to see if that works.

If it doesn't you could always try replacing the line

<FilesMatch ".*.(jpe?g|JPE?G|gif|GIF|png|PNG|swf|SWF)$" >

with

<FilesMatch ".*.(jpeg|JPEG|jpg|JPG|gif|GIF|png|PNG|swf|SWF)$" >

although it should make no difference

8 Apr 2011, 8:22 PM
#6650
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:

Not really, they are a security feature, try uploading a fresh .htaccess file to see if that works.

If it doesn't you could always try replacing the line

<FilesMatch ".*.(jpe?g|JPE?G|gif|GIF|png|PNG|swf|SWF)$" >

with

<FilesMatch ".*.(jpeg|JPEG|jpg|JPG|gif|GIF|png|PNG|swf|SWF)$" >

although it should make no difference
nods in agreement:yes:

9 Apr 2011, 3:22 AM
#6651
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

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

additional images not displaying here as well. using image handler 2.
question: how does additional image appear?
I followed the naming convention mentioned by Ajeh in tutorials and loaded additional image for one product to test with
what else can I look for?

9 Apr 2011, 3:58 AM
#6652
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

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

No .htaccess file in bmz_cache folder -just added one. no additional image yet?

9 Apr 2011, 4:05 AM
#6653
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

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

just noticed on server original product image file for product have [1].jpg . what is adding this [1] ?

9 Apr 2011, 4:38 AM
#6654
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

usr50:

just noticed on server original product image file for product have [1].jpg . what is adding this [1] ?A link to the test product would help..

9 Apr 2011, 1:43 PM
#6656
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

usr50:

No .htaccess file in bmz_cache folder -just added one. no additional image yet?Why?? this file is included with IH2.. Why did you have to create and add this file??

usr50:

additional images not displaying here as well. using image handler 2.
question: how does additional image appear?
I followed the naming convention mentioned by Ajeh in tutorials and loaded additional image for one product to test with
what else can I look for?
It would help if you posted the name of your main product image and the names of your additional images..

Also I would suggest double checking your lightbox installation.. If you are using ZLB, as has been posted SEVERAL times on the ZLB support thread, there is one file IH2 and ZLB have in common. You need to replace the one from ZLB with the one from IH2..

9 Apr 2011, 1:56 PM
#6657
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

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

No .htaccess file in the bmz_cache directory at install that's why. will search 'Zen Light box' for 'files in common' with 'Image handler2' and repost.

9 Apr 2011, 3:39 PM
#6658
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

usr50:

No .htaccess file in the bmz_cache directory at install that's why. will search 'Zen Light box' for 'files in common' with 'Image handler2' and repost.Then what versionof IH2 are you running because the most recent version of IH2 includes this file..

9 Apr 2011, 5:24 PM
#6659
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

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

Diva/overthehill,
Image Handler 2
I can see the image files in image handler Manager: coat_back.jpg and coat_back_00.jpg
I assume that the additional images will show in lightbox using arrows for navigation?
I must have a error in my code somewhere. I have the extra image showing at the bottom of the page seen here http://brooklynn.ky/shop/index.php?main_page=product_info&cPath=3_10&products_id=9
will post again later

9 Apr 2011, 6:06 PM
#6660
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

usr50:

Diva/overthehill,
Image Handler 2
I can see the image files in image handler Manager: coat_back.jpg and coat_back_00.jpg
I assume that the additional images will show in lightbox using arrows for navigation?Yeas, and it appears that your additional image are not included in the lightbox effect.. Can't address why this is in this support thread.. You should post your lightbox specific questions on the support thread for ZLB..

usr50:

I must have a error in my code somewhere. I have the extra image showing at the bottom of the page seen here http://brooklynn.ky/shop/index.php?main_page=product_info&cPath=3_10&products_id=9
will post again later
This is the default location for additional image thumbnails to appear.. (lightbox or no light box this is where the thumbnails appear.. if you want to remove the thumbnails that is a different subject and should be posted in a separate thread..

IH2 appears to be working correctly, your issues appear to be related to ZLB.. Suggest posting there to get assistance with your additional image and the lightbox..