Forums / Setting Up Categories, Products, Attributes / Adding a Button: need to have the Zen Lightbox Effect working

Adding a Button: need to have the Zen Lightbox Effect working

Views: 590

Results 1 to 2 of 2
16 Jun 2013, 12:26 AM
#1
rbecq avatar

rbecq

New Zenner

Join Date:
Nov 2012
Posts:
19
Plugin Contributions:
0

Adding a Button: need to have the Zen Lightbox Effect working

Hello, I am trying to add 2 buttons into the

<!--bof Attributes Module --> <!--eof Attributes Module -->

with this code:

<a href="http://www.mysite.com/images/buttons/dress.jpg"><img src="http://www.mysite.com/images/buttons/sizechart.gif" width="139" height="48" /></a>

I get the button but it does not launch the Zen Lightbox Effect to shojw the linked image, it opens a new page (in case i use black) or it leads the entire page to display the image (old image preview mode)

how can I have this images shown with the Zen Lightbox Effect?

Thanks :)

ps all other images, main an adiditional pictures are working with no problems with Zen Lightbox

17 Jun 2013, 9:10 AM
#2
rbecq avatar

rbecq

New Zenner

Join Date:
Nov 2012
Posts:
19
Plugin Contributions:
0

Re: Adding a Button: need to have the Zen Lightbox Effect working

Hello Guys! after fighting with this for some days I get the solutions, it is strage that Zen Lightbox does not have support about this issue, the only thread i have found about this matter is 4-5 years old and no solution wa spubliched.

ok for those who are triying to locate images at the ddescription or maybe into the tpl product info display or wheerver they need.

Lightbox works perfectly, AFTER INSTALLED in the places where you have located the php code, but there are some other places where, due the coding, there is no exclusive folder to place the code or maybe it was not a place ment to hold images, anyways, the solucion is easy, once lightbox is installed you gain the habbility to have this effect in almost any picture you just have to use the rel="lightbox" after the url code of each image.
This will make lightbox work for with that image.
There is a small problem with this method, you will not be able to see a tag when the mouse is over this image but who cares. I have seen a way to solve this issue wuth a if then else but, at least for me, its something extra small to loose more time, specially after beeing trying to make this work for one week.

Hope i can save some time to other guys wanting to use lightbox in their images