Hi,
How can we use the lightbox instead of this tickbox wich is, imho, alot more gorgeous than the tick one?
Thanks in advance!
Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.
Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

Vous parlez français ? par ici !
Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

Vous parlez français ? par ici !
Lightbox instead of thickbox?
Started by manHa, Aug 26 2008 12:48 PM
Lightbox instead of thickbox?
#1
Posted 26 August 2008 - 12:48 PM
#2
Posted 26 August 2008 - 01:29 PM
You would need to edit your template files to include the light box javascript, and to edit the img tags to work with Lightbox. It wouldn't be too hard.
However from my quick look at both Thickbox and Lightbox, I think Thickbox seems faster and simpler. However lightbox did have some funky animation effects.
However from my quick look at both Thickbox and Lightbox, I think Thickbox seems faster and simpler. However lightbox did have some funky animation effects.
#3
Posted 26 August 2008 - 01:31 PM
Thanks bramp. The problem with the Tickbox is that the images are 600x600. Even if the real image is 100x100 or 50000x50000000. I don't like that. i want something that will show the real size of the image.
Can someone please gimmie more details on this?
Thanks.
Can someone please gimmie more details on this?
Thanks.
#4
Posted 26 August 2008 - 01:44 PM
Isn't that because PrestaShop resizes all the images when you add them? If you look in the BackOffice->Preferences->Image, you will see a entry for ThickBox.
I believe you could change something in the template to show the original image. Infact quickly looking in product.tpl I see the line:
if you change that to:
it might do what you want. Quickly testing on my site it didn't seem to work quite well. But I've changed many things on my site, so I might have broken something elsewhere.
I believe you could change something in the template to show the original image. Infact quickly looking in product.tpl I see the line:
id}-{$image.id_image}-thickbox.jpg" rel="other-views" class="thickbox {if $smarty.foreach.thumbnails.first}shown{/if}">
if you change that to:
id}-{$image.id_image}.jpg" rel="other-views" class="thickbox {if $smarty.foreach.thumbnails.first}shown{/if}">
it might do what you want. Quickly testing on my site it didn't seem to work quite well. But I've changed many things on my site, so I might have broken something elsewhere.
#5
Posted 26 August 2008 - 01:55 PM
I've put 2000x2000px max. for the thickbox and now my images won't load. lol. I just want the thickbox to be "SMART" and don't resize the image and just put them as their original resolution.
So can someone tell me how can I get the lightbox instead of the thickbox. Thanks.
So can someone tell me how can I get the lightbox instead of the thickbox. Thanks.
#6
Posted 26 August 2008 - 05:25 PM
I am interested in Shadowbox which seems to be much more achieved (displays video for instance).
If anyone could help me to include that in the code, it would be great !
If anyone could help me to include that in the code, it would be great !
#7
Posted 26 August 2008 - 09:04 PM
Your right that is really nice ;)
are you on SKYPE we can discuss this more?
although you have to pay $20.00 for each site (commercial use)
are you on SKYPE we can discuss this more?
although you have to pay $20.00 for each site (commercial use)
#8
Posted 26 August 2008 - 10:04 PM
Hi Amw :-)
now I am at home, (it's 1 AM here :-)
and no skype here.
and about the 20$ it's ok for me.
the question is to integrate it in PS.
I am using it with Rapidweaver; and really, the result is fantastic. it' really a pleasure to make nice effects. and in no time.
now I am at home, (it's 1 AM here :-)
and no skype here.
and about the 20$ it's ok for me.
the question is to integrate it in PS.
I am using it with Rapidweaver; and really, the result is fantastic. it' really a pleasure to make nice effects. and in no time.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











