WordPress.org

Support

Support » Plugins and Hacks » Scaling Lightbox

Scaling Lightbox

  • Hi!
    I have problem with scaling lightbox if photo is too large (lightboxs is larger then my screen when picture is too large). I understand, that I can upload smaller photos, but what if user uses small screen resolution, like mobile device or user himself uploads large photo ? Shouldnt lightbox be fitted to screen ?
    I found these two code lines, but they doesnt seam to work, just nothing happends when I change them (I am not a programmer).

    'lightbox_width_perc'	=> '50', //lightbox width as percent of user screen
    'lightbox_height_perc'	=> '50', //lightbox height as percent of user screen

    http://wordpress.org/extend/plugins/gallery-share/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Scaling Lightbox’ is closed to new replies.