-
AuthorPosts
-
October 13, 2015 at 11:39 am #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
BerndOctober 13, 2015 at 11:48 am #517986Hi 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,
YigitOctober 13, 2015 at 12:21 pm #518022Hi 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, BerndOctober 14, 2015 at 4:20 am #518477Hi 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,
RikardOctober 14, 2015 at 7:05 am #518506Hi 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, BerndOctober 15, 2015 at 5:39 am #519039Hi,
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,
RikardOctober 15, 2015 at 6:19 am #519051Hi 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, BerndOctober 16, 2015 at 6:27 am #519676Hi!
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!
IsmaelOctober 16, 2015 at 8:50 am #519714Hi 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 -
AuthorPosts
- The topic ‘Lightbox image size’ is closed to new replies.