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 2,121 to 2,140 of 7,094
11 Jan 2008, 2:20 PM
#2121
e81ny avatar

e81ny

New Zenner

Join Date:
Feb 2007
Location:
New York
Posts:
88
Plugin Contributions:
0

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

While browsing this thread, I searched for "No Image Handler information found" and saw someone fixed the problem (error message "No Image Handler information found") by clicking on "install Image Handler" on admin page.

I don't know what happened. I did install IH2 and was surprised that there was an option "install image handler" under admin page.

After "re"-install IH2, everything works now!

PS. I have to say that IH is really useful. Thank you very much.

11 Jan 2008, 3:02 PM
#2122
holdika avatar

holdika

New Zenner

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

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

Wow this is certainly an amazing addon for the shopping cart. Thank you so much...

I do have a tiny problem. How do I make the additional images to show? :D I just don't know why it's not being displayed :no:

Thank you for the help and this great mod :clap:

11 Jan 2008, 10:35 PM
#2123
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

holdika:

Wow this is certainly an amazing addon for the shopping cart. Thank you so much...

I do have a tiny problem. How do I make the additional images to show? :D I just don't know why it's not being displayed :no:

Thank you for the help and this great mod :clap:

Search this thread for it, it's here, in detail ... promise ya.

11 Jan 2008, 10:47 PM
#2124
holdika avatar

holdika

New Zenner

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

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

jettrue:

Hi There,

Ok, I've found that replacing the original code in classes/bmz_image_handler.php (~line 701):

return $parameters . 'style="position:relative" onmouseover="showtrail(' . "'$products_image_zoom','$alt',$width,$height,$zoomwidth,$zoomheight,this," . $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';

> 
> with this:
> 
>       ```
if (!($_GET['main_page']==FILENAME_PRODUCT_INFO)) {
        return $parameters . 'style="position:relative" onmouseover="showtrail(' . "'$products_image_zoom','$alt',$width,$height,$zoomwidth,$zoomheight,this," . $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
      } else {
		return $parameters . 'style="position:relative" onmouseover="showtrail(' . "\'$products_image_zoom\',\'$alt\',$width,$height,$zoomwidth,$zoomheight,this," . $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
		}

Fixes the issue of additional images not displaying, while still allowing the hover effect on product listing pages.

What I'd also like to figure out how to do, is to prevent the hover on CATEGORY and SUBCATEGORY images (as I try to upload the smallest category image possible, since IH2 doesn't resize these - yet it still adds the mouseover to them).

Anyway, I tried a few things to get that to work, but haven't figured it out yet. Any ideas?

I tried this fix but for me it didn't work. I still can't see the additional images. I use 1.3.8a...
Any suggestion :D

12 Jan 2008, 3:40 AM
#2125
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

holdika:

I tried this fix but for me it didn't work. I still can't see the additional images. I use 1.3.8a...
Any suggestion :D
I believe testuser wanted you to find a much easier fix.
So....

How are you uploading your additional images?
Are your additional images named correctly?
What template are you using?
A link helps us help you.

M

12 Jan 2008, 3:55 AM
#2126
holdika avatar

holdika

New Zenner

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

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

tophand:

I believe testuser wanted you to find a much easier fix.
So....

How are you uploading your additional images?
Are your additional images named correctly?
What template are you using?
A link helps us help you.

M

figured out the problem. :blush:...... it looked like the images have been renamed correctly, but not. The original image was uploaded with the capital .JPG extension and the additional images with the lower case extension of .jpg ....this is where the problem was.... :shocking:

Thank you so much for your time :D

Yeay it's FIXED :clap:

12 Jan 2008, 6:51 AM
#2127
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

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

Any Chance there is an addon for using the RSS Feed contribution?

No matter what I do, there is a linked image that you can see and swipe without a watermark.

13 Jan 2008, 9:43 PM
#2128
capnhairdo avatar

capnhairdo

New Zenner

Join Date:
Jan 2008
Posts:
38
Plugin Contributions:
1

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

Hi,

Just installed IH2 on our 1.3.7.1 cart and it's working great. Brilliant contribution! But I had some minor issues:

  1. couldn't get zooms working on category product listings (but worked on New Products, Featured Products, etc.)
  2. couldn't get zooms working on medium (product page) images

After pulling apart the IH code, I learned some stuff that might be helpful to other IH users, which I couldn't find in the documentation at BreakMyZenCart. (Apologies if this has already been posted...I haven't read through all 215 pages of this thread to find out, and can't seem to find anything relevant by searching.)

Problem #1: ImageHandler handles three "sizetypes" of images: "small", "medium" and "large". It determines which sizetype it's working with in two ways:

  1. for medium and large images, it searches for "_medium" and "_large" in the filenames
  2. for small images, it checks to see if the width and height of the image are IDENTICAL to the "Small Image Width" and "Height" set in Admin > Configuration > Images. If the dimensions are not identical, and the image is not already identified as a medium or large image, it's labelled as "generic", and no zoom behavior can be applied.

Therefore, to enable zoom behavior on ALL images (e.g., category product listings, "new product" listings, "featured product" listings, etc.), you first need to make sure that the following options MATCH the "Small Image Width" and "Height" in Admin > Configuration > Images:

Image - Product Listing
Image - Product Listing
Image - Product New Listing
Image - Product New Listing
Image - New Products Width
Image - New Products Height
Image - Featured Products Width
Image - Featured Products Height
Image - Product All Listing Width
Image - Product All Listing Height

Problem #2: I discovered that the IH get_additional_parameters() function in includes\classes\bmz_image_handler.class.php, which adds the zoom behavior to images, checks to see if the current image sizetype allows zooming (an option set for small and medium images in Admin > Configuration > Images). However, it's limited to sizetype == 'small' on the previous line, excluding the possibility that medium images can have zooms.

I changed this sizetype != 'large', so that the only images that are excluded from having zooms are large ones.

Once that was working, and I had zooms on both small and large images, I realized it was pretty silly to zoom the "No picture available" pictures. I made some minor tweaks in the IH files to prevent zooms on these default pictures. I also tweaked the main_product_image template so that if a zoom is applied to a medium image, it does not also show the default ZenCart "larger image" caption and link to the popup (which seems redundant).

Here's my tweaks as a patch. Would love it if somebody could download and test these changes and let me know what they think!

14 Jan 2008, 5:05 AM
#2129
mohinder avatar

mohinder

Zen Follower

Join Date:
Mar 2007
Posts:
115
Plugin Contributions:
0

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

tophand:

Might be a problem with the LightBox mod.
Have you check out the LightBox support thread?
While I don't use the LightBox, I do know that people use both LightBox & IH together.

Mwell yes, but i made some changes recommended from the lightbox thread and it was working fine. now it just stopped working out of nowhere

14 Jan 2008, 5:34 AM
#2130
tomarriola avatar

tomarriola

Zen Follower

Join Date:
Oct 2004
Posts:
206
Plugin Contributions:
0

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

I've got image handler installed and it works mostly. :)

The one place it does not work is category listings. All the images are missing. The images DO appear elsewhere for the product. Once you click on a product, the image appears from the bmz cache and when you click for the larger image an image comes from the bmz cache too.

This happened after I went to image handler admin and clicked the "Scan for old IH 0.x and 1.x original images"

What can I do to make this work correctly? The test store is at

http://www.crimescene.com/store-1-13-2008

Tom

14 Jan 2008, 2:21 PM
#2131
andyii avatar

andyii

Zen Follower

Join Date:
Mar 2007
Posts:
153
Plugin Contributions:
0

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

Jus for ha ha's, try the classic template :oops:
I have seen some templates that have been re coded and miss some features.
other than that, check and double check settings in admin, IH would appear tricky to some, but I see it as more particular for settings :smile:

PS: thanks to capnhairdo for his explanation and ad on , it is important to follow IH's needs !

tomarriola:

I've got image handler installed and it works mostly. :)

The one place it does not work is category listings. All the images are missing. The images DO appear elsewhere for the product. Once you click on a product, the image appears from the bmz cache and when you click for the larger image an image comes from the bmz cache too.

This happened after I went to image handler admin and clicked the "Scan for old IH 0.x and 1.x original images"

What can I do to make this work correctly? The test store is at

http://www.crimescene.com/store-1-13-2008

Tom

14 Jan 2008, 5:51 PM
#2132
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

tomarriola:

I've got image handler installed and it works mostly. :)

The one place it does not work is category listings. All the images are missing. The images DO appear elsewhere for the product. Once you click on a product, the image appears from the bmz cache and when you click for the larger image an image comes from the bmz cache too.

This happened after I went to image handler admin and clicked the "Scan for old IH 0.x and 1.x original images"

What can I do to make this work correctly? The test store is at

http://www.crimescene.com/store-1-13-2008

Tom

Maybe check your file(s) path.
You have:
http://www.crimescene.com/store/
and
http://www.crimescene.com/store-1-13-2008/
Looks like all the image point to /store/images/

This is weird.
Try to view this image, fingerprint.collection.jpg
http://www.crimescene.com/store-1-13-2008/images/fingerprint.collection.jpg
Should get just the image, but the page reloads and now the images show.
The file path has changed from /store-1-13-2008/images/ to /store/images/.
http://www.crimescene.com/store/images/fingerprint.collection.jpg
now shows just the image.

Have you check your 2 configure.php files for /store-1-13-2008/ to see if the image path is correct?

M

15 Jan 2008, 3:38 AM
#2133
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

tophand:

Maybe check your file(s) path.
You have:
http://www.crimescene.com/store/
and
http://www.crimescene.com/store-1-13-2008/
Looks like all the image point to /store/images/

This is weird.
Try to view this image, fingerprint.collection.jpg
http://www.crimescene.com/store-1-13-2008/images/fingerprint.collection.jpg
Should get just the image, but the page reloads and now the images show.
The file path has changed from /store-1-13-2008/images/ to /store/images/.
http://www.crimescene.com/store/images/fingerprint.collection.jpg
now shows just the image.

Have you check your 2 configure.php files for /store-1-13-2008/ to see if the image path is correct?

M

Your right in quoting the configure files, but the image path is based on the actual store directory ... You'll need to check both the admin and store configure files.

15 Jan 2008, 1:37 PM
#2134
afterhour avatar

afterhour

Zen Follower

Join Date:
Dec 2007
Posts:
92
Plugin Contributions:
0

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

Help
I have IH2 disabled at the moment while I try and figure out what is happening..
I have installed this mod on another site before and it works fine

but when I install it on http://www.agijewellery.co.uk the images don't popup they just appear in the top left hand corner of the browser window before the header.....

Please help, where should I start looking to resolve the problem...

Kind Regards
AfterHouR

15 Jan 2008, 2:45 PM
#2135
kyler_schroeder avatar

kyler_schroeder

New Zenner

Join Date:
Jun 2007
Posts:
25
Plugin Contributions:
0

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

I'm sure that it's totally obvious but I'm just not seeing it, how do you define the size for the Medium images? I see the size for Large and the primary image in Configure :: Images, but I don't see anything for Medium.

Thanks,

Kyler

15 Jan 2008, 4:11 PM
#2136
names avatar

names

New Zenner

Join Date:
May 2007
Location:
Oregon
Posts:
31
Plugin Contributions:
0

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

So , I am using the latest version Of IH2 from downloads section,

Installed on 1.3.8a

PopUp looks awesome good size, good placement time to move on right?

By chance I viewed it in IE7 and the popup does not function properly,
the further down the page I get the more the popup is out of place.

So if it works fine in FF i am assuming my install is correct?
or am I overlooking a file placement that would affect IE and not FF

Also using Column Grid layout if that matters........

Thanks!!
:blink:

15 Jan 2008, 6:33 PM
#2137
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

AfterHouR:

Help
I have IH2 disabled at the moment while I try and figure out what is happening..
I have installed this mod on another site before and it works fine

but when I install it on http://www.agijewellery.co.uk the images don't popup they just appear in the top left hand corner of the browser window before the header.....

Please help, where should I start looking to resolve the problem...

Kind Regards
AfterHouR

So, did you check to make sure you uploaded "All" the files for IH?

You are missing one......:oops:

includes/templates/agi_template/css/style_imagehover.css

M

15 Jan 2008, 6:49 PM
#2138
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

Kyler Schroeder:

I'm sure that it's totally obvious but I'm just not seeing it, how do you define the size for the Medium images? I see the size for Large and the primary image in Configure :: Images, but I don't see anything for Medium.

Thanks,

Kyler

You are looking in the right place, just not called Medium.
Product Info pages display the medium sized images.

Product Info - Image Width                 151
Product Info - Image Height                 0
Product Info - Image Medium Suffix          _MED
Product Info - Image Large Suffix           _LRG

M

15 Jan 2008, 6:52 PM
#2139
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

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

Names:

So , I am using the latest version Of IH2 from downloads section,

Installed on 1.3.8a

PopUp looks awesome good size, good placement time to move on right?

By chance I viewed it in IE7 and the popup does not function properly,
the further down the page I get the more the popup is out of place.

So if it works fine in FF i am assuming my install is correct?
or am I overlooking a file placement that would affect IE and not FF

Also using Column Grid layout if that matters........

Thanks!!
:blink:

A link helps us help you.

M

15 Jan 2008, 7:20 PM
#2140
names avatar

names

New Zenner

Join Date:
May 2007
Location:
Oregon
Posts:
31
Plugin Contributions:
0

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

Somehow I knew Id get that response,:lamo:

Sorry, I'm off site on localhost, I will post again when I get updated site

uploaded....