Automatic resize of lightbox images

Viewing 3 posts - 1 through 3 (of 3 total)
  • #10828
    vane_x4d
    Participant

    Hi,

    I’d like to know if it’s possible to have an automatic resize of the “lightbox” image display, based on screen size, like it happens on FancyBox plugin. Now if my client forget to resize the original image before uploading, the pop up can be too big and impossible to manage on a small screen like Macbook air.

    If not, is it possible to replace the original Pinboard embedded plugin with another one?

    Thanks.

     

     

    #10853
    photonopticum
    Participant

    Hello,
    I replaced the lightbox with fancybox for exactly that reason.

    1) download/install fancybox
    2) keep the “lightbox” option checked in your theme appearance
    3) see here for how it is done:
    http://www.onedesigns.com/support/topic/fancybox-and-infinite-scroll-issues

    and it all works here:
    http://www.photonopticum.com

    Good luck!!
    M.

    #15093
    GreenSpirit
    Participant

    Lightbox is responsive:

    in the settings change the values of “Maximum width of an image” and “Maximum height of an image” by setting maximum values in percents. It will take the size of a browser window into account.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.