Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #249474

    Hello,
    my english is bad, please excuse. My german is better ;o)
    The images in my Masonry Galerie looks out of focus on retina displays. I upload my photos with a resolution of 2048 x “x”. High enough
    for a retina resolution. In the small preview without enlargement the resolution is good at images in a panel format. Once the image is enlarged, it is out of focus. Pictures in landscape format are basically out of focus. About the images a lower resolution is displayed as the image has (for example 705×470 by pictures in landscape format and 469×705 by pictures in a panel format). What can I do to fix the error?

    Thanks for your help
    Best regards
    Christian

    #249476

    Hey Pogona82!

    Are you using a plugin such as this one http://wordpress.org/plugins/wp-retina-2x/ ?
    Can you also post the link to your website so we can take a look?

    Cheers!
    Yigit

    #249594

    Hi Yigit,

    yes, i try to use it, but i think it doesn´t work. So i deactivate it.

    #249595
    #249770

    Hi!

    I just checked your website and it does look sharp on my end – http://i.imgur.com/LbW04py.jpg
    Can you check and confirm that it is sharp on your end as well?

    Cheers!
    Yigit

    #249888

    thanks for your answer. in this view the gallery is sharp. on my retina device too. but when the image was open in the lightbox view, the image is no longer sharp. if you expand the images in the lightbox, the image is totaly out of focus.

    #250025

    Hi!

    Please try adding following code that Peter suggested in another post

    add_filter('avf_avia_builder_gallery_image_link', 'avia_change_gallery_thumbnail_link', 10, 4);
    function avia_change_gallery_thumbnail_link($link, $attachment, $atts, $meta)
    {
        $link = wp_get_attachment_image_src($attachment->ID, "full");
        return $link;
    }

    Cheers!
    Yigit

    #250403

    Hi Yigit,

    where do I insert the code?

    Best regards
    Christian

    #250701

    Hi!

    You can insert the code at the very bottom of functions.php. Go to Appearance > Editor, look for functions.php. I’m not sure if that is going to work in your case but please give it a try.

    Best regards,
    Ismael

    #251315

    Hi Ismael,

    the code doesn´t work at Appearance-Editor-functions.php (at the very bottom).
    I have created a site for demonstration.

    http://macro-photo.de/kontakt/impressum/datenschutzerklaerung/problem-2/

    what can i do now?the probelm is terrible for a photo website!

    #251338

    Hey!

    Please find following line in Functions.php file

    avia_nav_menus(); //call the function immediatly to activate
    }
    

    and add the code i posted earlier to right below it

    Regards,
    Yigit

    #251379

    I entered the code. now my internet site is no longer accessible.
    I can not reach the login page. how can that be? can I have it so much done wrong? Panic!

    http://macro-photo.de

    #251507

    my website is accessible again. I can restore the old original via a FTP server.

    I have pasted the code as follows:

    avia_nav_menus(); //call the function immediatly to activate
    add_filter(‘avf_avia_builder_gallery_image_link’, ‘avia_change_gallery_thumbnail_link’, 10, 4);
    function avia_change_gallery_thumbnail_link($link, $attachment, $atts, $meta)
    {
    $link = wp_get_attachment_image_src($attachment->ID, “full”);
    return $link;
    }

    that was definitely wrong. where exactly do I have to insert the code?

    #251985

    Hey!

    I recommend to add this code to the child theme functions.php file (at the very bottom). If you don’t use a child theme insert it at the very bottom of enfold/functions.php.

    Best regards,
    Peter

    #252101

    hello. Unfortunately, both options do not work. about the images in the lightbox following resolutions are displayed. landscape format 705×470. portrait format 469×705. is this really the resolution for the presentation? I have uploaded the image with 2048 pixels.
    I’m sorry but the presentation is very important to me.

    beste regards

    #255404

    Hi!

    Please create me an admin account and I’ll check why the code doesn’t work for you.

    Best regards,
    Peter

    #255849
    This reply has been marked as private.
    #256531

    Hey!

    It works now. The code changed a bit with the last theme update and I had to insert:

    
    add_filter('avf_avia_builder_masonry_lightbox_img_size', 'avia_change_gallery_thumbnail_link', 10, 1);
    function avia_change_gallery_thumbnail_link($size)
    {
        return "full";
    }
    

    into the functions.php file.

    Best regards,
    Peter

    #256617

    Hi Peter,

    yes, it works!!!! Thank you very much!!!!!!
    Good work!!

    Best regards.
    Christian

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Images in Masonry Galerie looks out of focus (on retina display)’ is closed to new replies.