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

Results 6,421 to 6,440 of 7,094
24 Feb 2011, 1:29 PM
#6421
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

IH2 is for management of product and category images only..

dddmx3:

Click here to see one of my products...

My question is, When you hover the attribute image comes up in a little white box... I was wondering is it possible to do so that when you hover the attribute 'large' image comes up? Just a small version, and if they want to enlarge, then click it as usual.

Here's a image example:

24 Feb 2011, 1:50 PM
#6422
nagelkruid avatar

nagelkruid

Zen Follower

Join Date:
Nov 2006
Posts:
284
Plugin Contributions:
0

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

DivaVocals:

IH2 is for management of product and category images only..
I do believe this hover is done by IH isn't it? (even for the attribute images)

perhaps it could be considered to make an admin switch with default and/or large image hover to be selected at will since this seem to be one of the returning questions on this module.

24 Feb 2011, 5:33 PM
#6423
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

nagelkruid:

I do believe this hover is done by IH isn't it? (even for the attribute images)IH2 does not manage attribute images..

However after having more than a second to look at this, I see that in the example provided by dddmx3 the images shown in his screen shot are not attribute images, they are in fact product images.. (the additional product images to be exact)

To get the larger image to show up in the hover requires that a larger image be used in the first place..

In his example it appears that there is one image file being used for the small image another image file being used as the medium image, and yet another image is being used as the large image file..

Most IH2 users upload the largest image and IH2 takes care of rendering the small and medium images.. However, if dddmx3 has explicitly chosen these images in the IH2 interface then it might explain why the hover image is the EXACT same image as the smaller thumbnail. (it's possible that the exact same image was uploaded as the thumbnail and the product image)

nagelkruid:

perhaps it could be considered to make an admin switch with default and/or large image hover to be selected at will since this seem to be one of the returning questions on this module.
My understanding of the issue that has always been on the table for making the large versus the medium images display in the hover has always been lightbox compatibility issues. That's why when the "Optional Edits" folder (which was supposed to add this ability) was added to IH2 many versions ago it was quickly removed from the fileset.. Too many people using those optional Edits found their lightboxes stopped working..

Doesn't mean it's not doable, it just means that no one has taken the time needed to examine how to offer the ability for choosing large vs medium images in the hover AND still be compatible with the popular lightbox modules.

However there has been a TON of posted fixes for adding this functionality.. Most of it seems to not work with lightbox contribs though..

24 Feb 2011, 6:03 PM
#6424
dddmx3 avatar

dddmx3

Zen Follower

Join Date:
Jul 2010
Location:
Battle Ground, WA
Posts:
282
Plugin Contributions:
0

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

Wait... If you click on the smaller images, a larger image comes up?
So your saying its not possible? :shocking:

24 Feb 2011, 6:38 PM
#6425
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

dddmx3:

Wait... If you click on the smaller images, a larger image comes up?
So your saying its not possible? :shocking:Not sure I understand your question..

Honest to goodness I'm really not entirely sure what the issue is you are having or if it's even an IH2 issue at all.. Your site is working in a way that IH2 doesn't do out the box with regards to the display and management of your additional product images..

Here's how IH2 works. You upload the LARGEST image when you create your product, and IH2 takes care of creating the small and medium images needed from this one image file.

In the IH2 readme I took the time to explain the various image sizes from the Image settings in the Zen Cart admin and how they map to the various pages in Zen Cart. Please review this..

Simply put here how it maps out:
Thumbnails are your "small" images
The product image (the one that appears on the product detail page) is the "medium" image
The "large" image is the one that appears when you click on the "larger image" link from the product detail page

The hover feature in IH2 has ALWAYS ONLY shown the "medium" image.

See sample links of IH2 in action here:
Product Detail page: http:// zentestcart . overthehillweb . com/Test_Category/Nonummy_Iusto_Laoreet
Product List page: http:// zentestcart . overthehillweb . com/Test_Category

Looking at your site it appears that all of your additional images have the SAME IMAGE being used as the small and medium image. Which either means that you EXPLICITLY chose this image as your product's medium images or you've got some other modification that makes this behavior happen. Your LARGE image is a different image altogether which again gives me the impression that you EXPLICITLY chose this image for the large product image.. NONE of this is default IH2 behavior..

So without knowing what other mods you've made to your sight or knowing HOW you uploaded these images in this manner I can't say WHAT the issue is or how to correct it.. and it's starting to feel like this may NOT be an IH2 issue at all..

24 Feb 2011, 9:51 PM
#6426
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

One last thing.. (and I've spent more time on this than I really have time for) I looked over some of your past posts.. You have a different image setup than what IH2 does default out the box.. Which is why your additional images are setup the way they are.. It's not that IH2 can't manage your images, but your use of product images is outside the general IH2 usage of uploading ONE image and letting IH2 create the other required images..

That said, if what you are wanting is for the large image to display on hover (versus the medium image which is the IH2 default) try this link:
http://www.zen-cart.com/forum/showpost.php?p=970713&postcount=6110

dddmx3:

Click here to see one of my products...

My question is, When you hover the attribute image comes up in a little white box... I was wondering is it possible to do so that when you hover the attribute 'large' image comes up? Just a small version, and if they want to enlarge, then click it as usual.

Here's a image example:

24 Feb 2011, 10:00 PM
#6427
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

I love Nigel.. He posts/shares the best information..

So I am asking you two a question..

Riddle me this.. One of the stumbling blocks for adding the ability for the large image to display instead of the medium image on the small image hover has been lightbox compatibility..

After thinking about what nagelkruid posted earlier and looking at Nigel's solution, it occurred to me that if I were to use THIS solution and make this an admin configurable option, I can't see how there would be a lightbox conflict.. Am I wrong or is this possibly doable?? I am LEARY because previous attempts to add this to the IH2 codebase led to all kinds of issues..:laugh: (and I'm NOT a PHP coder..)

if Use_Medium_Image = True
$zoom_sizetype = ($this->sizetype=='small')?'medium':'large';

else

$zoom_sizetype = ($this->sizetype=='small')?'large':'medium';
```Yeah yeah yeah I know there's brackets missing and some other syntaxy stuff.. but will this work?? :laugh:
 
 > **nigelt74:**
>
> And on a completely different note
>  
>  I had a query on my blog about using the **large** image as the hover image in IH, rather than the medium (product info) image, [ \*\*Image Handler for zencart - making the large image the hover image \*\*](http://tinyurl.com/2fq66kx)

> **nagelkruid:**
>
> I do believe this hover is done by IH isn't it? (even for the attribute images)
> 
> perhaps it could be considered to make an admin switch with default and/or large image hover to be selected at will since this seem to be one of the returning questions on this module.
24 Feb 2011, 11:50 PM
#6428
serious avatar

serious

Totally Zenned

Join Date:
Feb 2011
Posts:
686
Plugin Contributions:
0

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

Not sure if there's a cure for this one. I've got a few products on my site that do not have a picture associated with them but the usual "no image gig doesn't come up for these.
http://www.seriousoffroadproducts.com/index.php?main_page=product_info&cPath=54&products_id=9616

Also, I've selected "YES" for adding the watermark to my large images, but it's not showing up. What did I miss?

25 Feb 2011, 12:21 AM
#6429
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

Serious:

Not sure if there's a cure for this one. I've got a few products on my site that do not have a picture associated with them but the usual "no image gig doesn't come up for these.
http://www.seriousoffroadproducts.com/index.php?main_page=product_info&cPath=54&products_id=9616

Also, I've selected "YES" for adding the watermark to my large images, but it's not showing up. What did I miss?

  1. How where the images added, don't quote me but zencart should automatically put the no image in, I think if you use a bulk upload EZ populate it skips it, you should just be able to open the products listing and select no image and it should work, have you set the noimage on in the image options?
  2. have you uploaded a watermark file? and cleared your image handler cache
  3. Fix your buttons, they have ugly white bits around them, there is a button construction kit in the downloads that creates buttons at the click of a button with the correct background see it here
25 Feb 2011, 12:55 AM
#6430
serious avatar

serious

Totally Zenned

Join Date:
Feb 2011
Posts:
686
Plugin Contributions:
0

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

nigelt74:

  1. How where the images added, don't quote me but zencart should automatically put the no image in, I think if you use a bulk upload EZ populate it skips it, you should just be able to open the products listing and select no image and it should work, have you set the noimage on in the image options?
  2. have you uploaded a watermark file? and cleared your image handler cache
  3. Fix your buttons, they have ugly white bits around them, there is a button construction kit in the downloads that creates buttons at the click of a button with the correct background see it here

#1) The "No Image" is already in Zencart and it should be automatic.

#2) Yes the watermark file (part) of IH2 was placed in the /large folder

#3) I've got ugly buttons? Why ddn't one of my good friends tell me?!!?:cry:

I'll purdy 'em up fer ya.:hug:

25 Feb 2011, 6:37 AM
#6431
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

taps Nigel on the shoulders

Did ya see my question to you just a few posts above.. :blush:

nigelt74:

  1. How where the images added, don't quote me but zencart should automatically put the no image in, I think if you use a bulk upload EZ populate it skips it, you should just be able to open the products listing and select no image and it should work, have you set the noimage on in the image options?
  2. have you uploaded a watermark file? and cleared your image handler cache
  3. Fix your buttons, they have ugly white bits around them, there is a button construction kit in the downloads that creates buttons at the click of a button with the correct background see it here
25 Feb 2011, 8:13 AM
#6432
nagelkruid avatar

nagelkruid

Zen Follower

Join Date:
Nov 2006
Posts:
284
Plugin Contributions:
0

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

DivaVocals:

I love Nigel.. He posts/shares the best information..

So I am asking you two a question..

if Use_Medium_Image = True
$zoom_sizetype = ($this->sizetype=='small')?'medium':'large';

else

$zoom_sizetype = ($this->sizetype=='small')?'large':'medium';


default behaviour, (which is applicable for the majority) is best left in the else so i think its better to turn it around. ie:
1. make the admin switch named something like "use large images for popup? --> yes/no

2. code if ENABLE_LARGE_POPUP == true {
($this->sizetype=='small')?'large':'medium';}
else
the original code.

i can write this block for you if you want to test & integrate
25 Feb 2011, 8:18 AM
#6433
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

nagelkruid:

default behaviour, (which is applicable for the majority) is best left in the else so i think its better to turn it around. ie:

  1. make the admin switch named something like "use large images for popup? --> yes/no

  2. code if ENABLE_LARGE_POPUP == true {
    ($this->sizetype=='small')?'large':'medium';}
    else
    the original code.

i can write this block for you if you want to test & integrate
I know how to write it, and I know it will work..:smile: (wrote a ton of these for Super Orders.. getting kinda good at them:laugh:) I will cry uncle if I need help on that score.. BUT.. what I want to confirm is will this code cause issues for lightbox users.. I cannot see how this would be, but wanted more seasoned eyes to confirm this part for me..

25 Feb 2011, 10:57 PM
#6434
gketell avatar

gketell

New Zenner

Join Date:
Mar 2009
Posts:
4
Plugin Contributions:
0

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

nagelkruid:

I do believe this hover is done by IH isn't it? (even for the attribute images)

perhaps it could be considered to make an admin switch with default and/or large image hover to be selected at will since this seem to be one of the returning questions on this module.

Thinking out loud. What it looks like he wants is that when you hover over the color squares a "small" image of the colored shirt pops up, not the small image of the colored box. Then if you click on the colored box the "large" image of the colored shirt pops up (as it does now).

27 Feb 2011, 6:48 AM
#6435
tpeck avatar

tpeck

Zen Follower

Join Date:
Oct 2008
Posts:
197
Plugin Contributions:
0

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

Having upgraded to the latest Rev 8d version, when I hover over the product image with the words "larger picture" under it, it displays the URL: [domain]/zencart/images/large/filename.gif

Looking at stores where this works successfully, the URL points to the bmz_cache.

Can anyone tell me why my URLs don't point to the cache?

I have uninstalled - reinstalled many times.

27 Feb 2011, 9:23 PM
#6436
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

tpeck:

Having upgraded to the latest Rev 8d version, when I hover over the product image with the words "larger picture" under it, it displays the URL: [domain]/zencart/images/large/filename.gif

Looking at stores where this works successfully, the URL points to the bmz_cache.

Can anyone tell me why my URLs don't point to the cache?

I have uninstalled - reinstalled many times.

A link is worth a thousand Guesses

28 Feb 2011, 5:00 AM
#6437
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

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

tpeck:

...when I hover over the product image with the words "larger picture" under it, it displays the URL: [domain]/zencart/images/large/filename.gif

Looking at stores where this works successfully, the URL points to the bmz_cache.

Can anyone tell me why my URLs don't point to the cache?

I'm having the same issue. I'm running the latest versions of ZC and IH2. Here's a link to a page on my site where the issue can be seen.

28 Feb 2011, 6:11 AM
#6438
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

ScriptJunkie:

I'm having the same issue. I'm running the latest versions of ZC and IH2. Here's a link to a page on my site where the issue can be seen.

you are not using just image handler on that page you are using a lightbox mod, which overwrites image handler file for that page,

I think the very latest version of lightbox (see the support thread as i don't know if its in the downloads yet) should work out of the box with image handler
The file that sets that particular page comes with lightbox, what happens if you put the original image handler one back up?

I do know older version had issues (like the one you mention), and had to be carefully merged.

28 Feb 2011, 9:41 AM
#6439
sonik_fury avatar

sonik_fury

New Zenner

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

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

OK, I installed IH2 exactly as described in the readme file. It seemed to be working UNTIL I wanted to view a full size image. I'm using a jquery based lightbox that came installed in the ZJ-Silver-Wide Template I'm using......so the larger image wouldn't load because well it didn't exist in location specified. So I uninstalled IH2 per the instructions and well now I can't view larger images....period. If I could get IH2 to work that would be great.....any ideas. Here's the link to my site with IH2 currently disabled.
http://www.sportbiketirestore.com/

28 Feb 2011, 11:50 AM
#6440
tpeck avatar

tpeck

Zen Follower

Join Date:
Oct 2008
Posts:
197
Plugin Contributions:
0

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

sonik_fury your links upon clicking for the larger image are very similar to mine i.e. they go looking for a _LRG file in the images/large/ folder instead of referencing the bmz_cache.

The only thing I can add is that Rev 8b worked for me and that I don't use lightbox. I do use jquery, but not in the shopping cart. It's odd.