manHa Posted August 26, 2008 Share Posted August 26, 2008 Hi,How can we use the lightbox instead of this tickbox wich is, imho, alot more gorgeous than the tick one?Thanks in advance! Link to comment Share on other sites More sharing options...
bramp Posted August 26, 2008 Share Posted August 26, 2008 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. Link to comment Share on other sites More sharing options...
manHa Posted August 26, 2008 Author Share Posted August 26, 2008 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. Link to comment Share on other sites More sharing options...
bramp Posted August 26, 2008 Share Posted August 26, 2008 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: 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. Link to comment Share on other sites More sharing options...
manHa Posted August 26, 2008 Author Share Posted August 26, 2008 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. Link to comment Share on other sites More sharing options...
Fabrice Posted August 26, 2008 Share Posted August 26, 2008 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 ! Link to comment Share on other sites More sharing options...
ejectcore Posted August 26, 2008 Share Posted August 26, 2008 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) Link to comment Share on other sites More sharing options...
Fabrice Posted August 26, 2008 Share Posted August 26, 2008 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now