Tagged: gallery, Image resize, Portfolio
Hi there,
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, advice!
Thanks!
Hi Smaskit6!
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”
Best regards,
Yigit
Thanks Yigit!
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.
Thanks!
::Marta
Hey!
You can post the link to your website as a private reply, only you and us will see it.
Regards,
Josue
Hey!
Open /config-templatebuilder/avia-shortcodes/gallery.php, change line 151.
From;
‘lightbox_size’ => ‘large’,
To:
‘lightbox_size’ => ‘full’,
Cheers!
Josue