Jump to:

10854 Posts in 2518 Topics by 1794 members

All other Modules

SilverStripe Forums » All other Modules » How to get lightbox working with SS?

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 845 Views
  • TF-35Lightning
    Avatar
    Community Member
    137 Posts

    How to get lightbox working with SS? Link to this post

    Hi all,

    I'm trying to incorporate lightbox into the SS cms. Just wondering what is th best best to do such a thing. Do I create a css class, how does it reduce the size of a full image for thumbnail preview etc???

    First time trying ot setup a module like this for SS.

    Any help or advice would be great

  • UncleCheese
    Avatar
    4085 Posts

    Re: How to get lightbox working with SS? Link to this post

    I think it's more of a question that can be answered by the documentation for your lightbox, don't you think? Silverstripe doesn't care what Javascript plugins you use.

    There are a number of ways to generate thumbnails. The easiest way is $YourImage.SetWidth(100), but there are other GD functions available for different resampling processes.

    845 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.