Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #517980

    Hi!
    Something reduces my images in the lightbox to a width of 1030 px.
    Very strange: images, that were uploaded a few months ago are not affected.
    Do you have any idea?
    Best regards
    Bernd

    #517986

    Hi profil77!

    Please add following code to Functions.php file in Appearance > Editor

    add_filter( 'avf_avia_builder_masonry_lightbox_img_size', 'enfold_customization_change_popup_size' );
    function enfold_customization_change_popup_size( $size ) {
    	return 'fullsize';
    }

    Best regards,
    Yigit

    #518022

    Hi Yigit!
    Sorry, but the image-shortcode is:
    [av_image src='xxx.jpg' attachment='xxx' attachment_size='full' align='' animation='no-animation' styling='' hover='av-hover-grow' link='lightbox' target='' caption='' appearance='' custom_class=''][/av_image]
    The site shows the following code:
    <a href='xxx-1030x579.jpg' class='avia_image' >
    The original size of the image is 1280x720px.
    Thanks, Bernd

    #518477

    Hi Bernd,

    I’m not sure I understand exactly what you mean but the images will adapt to the screen window, they would not be responsive otherwise. Could you try to explain a bit further what you are trying to do and link to your site as well please?

    Regards,
    Rikard

    #518506

    Hi Rikard!
    The lightbox doesn’t open the image in the original width of 1280px. It shows the image with the suffix “-1030×579”. This version of the image must have been created during the upload. Formerly uploaded images e.g. 2014 are not affected.
    Thanks, Bernd

    #519039

    Hi,

    Ok I understand, could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.

    Regards,
    Rikard

    #519051

    Hi Rikard!
    Please be careful – our festival is running!
    Would you please have a look at functions-enfold.php, line 294. “( ‘large_size_w’, 1030 )”.
    Maybe …
    Thanks, Bernd

    #519676

    Hi!

    Please go to Settings > Media panel then set the max width and height of the “Groß” (Large size) to 9999. Regenerate the thumbnails afterwards: https://wordpress.org/plugins/force-regenerate-thumbnails/

    Cheers!
    Ismael

    #519714

    Hi Ismael!
    That’s great. Thanks a lot – I haven’t thought about the settings.
    Do you think that those unintended settings come with wordpress-updates?
    Cheers
    Bernd

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