Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #784384

    When I click on an image from a gallery, the lightbox is limiting max image size at width 1030px.
    For :

    • Slideshow in ajax preview (portfolio grid)
    • gallery masonry
    • gallery

    Is there a simple way to use original uploaded image in lightbox instead of resized one ?

    • This topic was modified 6 years, 11 months ago by romano2.

    Hey romano2,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,


    Yes, here is a gallery (right column) :
    Here is a portfolio masonry :

    If you click the photos, to zoom them in the lightbox, the photo’s max width is 1030px, even in 1920×1080 screen resolution.
    It’s too small for a zoom.
    Thanks !

    • This reply was modified 6 years, 11 months ago by romano2.


    Try the following:
    1. Install this plugin:
    2. Go to Settings > Media
    3. Change the image sizes in question (increase its width / height).
    4. Regenerate the thumbnails by clicking the button at the bottom.

    Best regards,


    Thanks for answer.
    But it doesn’t really answer my question. I wouldn’t like to change medias default sizes.
    I would like to use the original uploaded image in lightbox, instead of resized one ?
    In which php file could I find this, and how could I change it in child theme ?



    If you follow Andy suggestion and Install the plugin, you will be able to change the usage you want per item
    and not need to change anything else on the files.

    Please try and let us know if there is any problem

    Best regards,


    I’ve followed your advice. After hours of regenerating, I display the images in bigger.
    But I would have preferred to change and use the original uploaded photo in lightbox. The compression quality of wordpress is much lower than that of photoshop, for the same weight… It’s not very clean.



    That depends on your WordPress settings, how you upload images
    WordPress compresses them, so it is easier to show proper images and correct sizes.

    Best regards,

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.