Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #29303

    How do I make the prettyphoto lightbox for images fit the entire screen when clicking on an image? Right now it doesn’t display very big. You can see it here http://www.jaredburnettphoto.com/portfolio/ . This website running the same theme does display full screen prettyphoto when clicked http://chriswardphotography.net/consumer/galleries/weddings/#

    I tried changing the medium and large size image in wordpress but that didn’t change anything. I would like it when clicked by default to fill up the entire browser. I do not want the resize button either.

    How can this be done? Thanks!

    #140304

    Hi,

    Edit js > prettyPhoto > js > jquery.prettyPhoto.js, find this code:

    show_title:true,allow_resize:true,allow_expand:true

    Replace it with:

    show_title:true,allow_resize:false,allow_expand:true

    Remove browser cache then reload the page a few times. Test the gallery.

    Regards,

    Ismael

    #140305

    That got rid of the resize button but the pictures are not displayed in prettyphoto any larger than before. my upload resolution is 3000×2000. anything else?

    #140306

    maybe something to do with the default width and height on that same line? Below is what the current code is:

    show_title:true,allow_resize:false,allow_expand:true,default_width:500,default_height:344

    #140307

    I changed it to show_title:true,allow_resize:false,allow_expand:true,default_width:1000,default_height:688 and nothing changed.

    #140308

    Hi!

    Try following – open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodesslideshow.php and replace

    $link	 = wp_get_attachment_image_src($slide->ID, 'large');

    with

    $link	 = wp_get_attachment_image_src($slide->ID, 'full');

    Best regards,

    Peter

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Prettyphoto Lightbox Full Screen’ is closed to new replies.