Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1066858

    Hello,

    I try to change the image size for a single image lightbox. Unfortunately it keeps loading the ‘large’ size whatever i try.

    How can i change the image size from ‘large’ to ‘extra_large’ in a child theme. I tried to modify the image.php file. I got it working for masonry.

    Thanks in advance

    #1067436

    Hey Roger,

    Can you disable caching and minification for now?

    Best regards,
    Victoria

    #1067439

    Hi Victoria,

    I switched op wp-rocket. I am use photoswipe, instead of the enfold-lightbox.

    What i need is to get ‘full’ image size in
    a href=”https://rogercremers.com/wp-content/uploads/2019/02/RC20180922-CF258643-raw-1030×773.jpg”

    the size should be chosen in image.php

    roger

    • This reply was modified 5 years, 9 months ago by Roger. Reason: it linked to the lightbox
    #1067960

    Hi Roger,

    This is totally on the plugins side, Enfold does not weigh in here. You might want to check plugins’ docs for a possible setting or configuration.

    Best regards,
    Victoria

    #1068050

    Hello Victoria,

    Than you for your answer. But unfortunately this is nog true.

    Let me ask the question on another way. How can I get the lightbox to load a ‘full’ size version of an image when using the standard Magnific Lightbox from Enfold. Right now, the lightbox loads the ‘large’ version of an image.

    This got nothing to do with any plugins.

    Thank you in advance

    roger

    #1068398

    Hi Roger,

    Please, try selecting a bigger image here, when you insert it.
    Image 2019-02-18 at 15.26.22.png

    Best regards,
    Victoria

    #1068414

    Hi Victoria,

    Thank you for your answer.

    This is only the display option. I want to modify the image in the lightbox , so in the anchor element.

    roger

    #1069662

    Hi,

    Can you please try re-phrase what you need to do, not sure how the anchor is working together with the lightbox?

    Best regards,
    Basilis

    #1069839

    Hello Basilis,

    I want to insert a single image on a page with the link set to lightbox in the image.

    The size of the attachment file of the lightbox should be ‘extra_large’ instead of ‘large’ which enfold chooses.

    I think something should be changed around line 452 of image.php, but i cannot get it working.

    regards

    roger

    #1070950

    I know where to look. In the file ‘generic-helper.class.php’in line 82 I want ‘large to change to ‘extra_large’.
    I can do this manually, but is it possible to get this in the child theme?

    roger

    #1071520

    Hi,

    Those classes unfortunatley cant be loaded from a child theme.

    Best regards,
    Basilis

    #1071667

    Hi,

    unfortunately it is the wrong answer.
    I found the right answer here:
    https://kriesi.at/support/topic/problems-with-enfold-lightbox/

    #1071993

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Lightbox image size on Single image’ is closed to new replies.