Re: Image Handler 2 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..)
PHP Code:
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:
Quote:
Originally Posted by
nigelt74
Quote:
Originally Posted by
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.
Re: Image Handler 2 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.co...oducts_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?
Re: Image Handler 2 Support
Quote:
Originally Posted by
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.co...oducts_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
Re: Image Handler 2 Support
Quote:
Originally Posted by
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:
Re: Image Handler 2 Support
**taps Nigel on the shoulders**
Did ya see my question to you just a few posts above.. :blush:
Quote:
Originally Posted by
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
Re: Image Handler 2 Support
Quote:
Originally Posted by
DivaVocals
I love Nigel.. He posts/shares the best information..
So I am asking you two a question..
PHP Code:
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:
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
Re: Image Handler 2 Support
Quote:
Originally Posted by
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..
Re: Image Handler 2 Support
Quote:
Originally Posted by
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).
Re: Image Handler 2 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.
Re: Image Handler 2 Support
Quote:
Originally Posted by
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