I’m trying to do one thing : have a small thumbnail (maybe 300px) and a popup lightbox window for this image at maybe even 2000px x 2000px. Where exactly do I modify it and should I use portfolio or gallery for this?
Please go to wp-content\themes\enfold\js\prettyPhoto\js folder and open jquery.prettyPhoto.js file and search “allow_resize:true” and change it to “allow_resize:false”
But it doesn’t do much, the image is still contained within the the same 490 or so px width.
Should this work if I’m using a gallery short code ?
Isn’t is styled by the functions somewhere ?
Unfortunately the site is private until published so I can give the link.
You can post the link to your website as a private reply, only you and us will see it.
Open /config-templatebuilder/avia-shortcodes/gallery.php, change line 151.
‘lightbox_size’ => ‘large’,
‘lightbox_size’ => ‘full’,
The topic ‘Pop Up Image resizing….’ is closed to new replies.