-
AuthorPosts
-
September 9, 2013 at 12:42 pm #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!
September 10, 2013 at 4:06 am #140304Hi,
Edit js > prettyPhoto > js > jquery.prettyPhoto.js, find this code:
show_title:true,allow_resize:true,allow_expand:trueReplace it with:
show_title:true,allow_resize:false,allow_expand:trueRemove browser cache then reload the page a few times. Test the gallery.
Regards,
Ismael
September 10, 2013 at 6:01 am #140305That 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?
September 10, 2013 at 6:09 am #140306maybe 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
September 10, 2013 at 6:14 am #140307I changed it to show_title:true,allow_resize:false,allow_expand:true,default_width:1000,default_height:688 and nothing changed.
September 11, 2013 at 5:40 am #140308Hi!
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
-
AuthorPosts
- The topic ‘Prettyphoto Lightbox Full Screen’ is closed to new replies.
