Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #187017

    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!

    #187314

    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

    #188039

    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

    #188056

    Hey!

    You can post the link to your website as a private reply, only you and us will see it.

    Regards,
    Josue

    #188227
    This reply has been marked as private.
    #188228
    This reply has been marked as private.
    #188232
    This reply has been marked as private.
    #188234
    This reply has been marked as private.
    #188242

    Hey!

    Open /config-templatebuilder/avia-shortcodes/gallery.php, change line 151.

    From;
    ‘lightbox_size’ => ‘large’,

    To:
    ‘lightbox_size’ => ‘full’,

    Cheers!
    Josue

    #188245
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Pop Up Image resizing….’ is closed to new replies.