Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #438370

    Hallo Support Team,

    Ich habe ein Problem mit den Thumbnails in der Masonry Gallery.
    Die Bilder sind irgendwie alle unscharf (ganz speziell die Bilder welche im 16:9 Format sind)
    Ich habe auch schon versucht hier die Bilder in einer anderen Größe hochzuladen aber das funktioniert leider auch nicht.
    Sobald ich die Bilder dann in der Lightbox öffne sind sie perfekt scharf.

    In English:

    I have a problem with the quality of the masonry gallery
    The pictures are not sharp (especially when they are 16:9)
    i have also tried to upload the pictures in a different sice but it doesn’t matter.
    When the pictures are openede in the lightbox they are sharp as..

    kind regards

    • This topic was modified 9 years, 7 months ago by redwing77. Reason: Additional in english
    #439165

    Hallo Support Team,

    Ist es möglich bzgl. meinem Problem hier Hilfe zu erhalten ?

    Vielen Dank

    #440102

    Hey!

    Thank you for using Enfold.

    The masonry images are resized to a max width and height of 705x705px in the functions.php file. You can increase the px value then regenerate the thumbnails:

    $avia_config['imgSize']['masonry'] 		 		= array('width'=>705, 'height'=>705 , 'crop' => false);		// images for fullscreen masonry
    

    Use this plugin to regenerate the thumbnails: https://wordpress.org/plugins/regenerate-thumbnails/

    I checked the page and the images seem to be ok, maybe because I’m not a photographer. Anyway, please try the solution above.

    Best regards,
    Ismael

    #442072

    Hy Ismael,

    Sorry for my late response…
    Yes that code worked for me when i change it in the original functions.php file but i am using a child theme and put the line in the child theme functions.php and here it doesn’t work ?!

    Made i something wrong…

    My Child theme functions.php looks like

    <?php

    $avia_config[‘imgSize’][‘masonry’] = array(‘width’=>1500, ‘height’=>1500 , ‘crop’ => false); // images for fullscreen masonry

    ?>

    Thank you for your help

    #442135

    Hi Ismael,

    Found another solution that i found on the forum…
    its the plugin simple image size where i can change the image size for masonry.
    but i am interested how this can be changed with the functions.php (now i know that first the parent functions.php is loaded and then the child)
    but not sure how this can be done with the child functions.php

    kind regards
    Bernd

    #444368

    Hey!

    hm why not just use simple image size? it works pretty well with this plugin, I think.

    Try something like this in your child’s functions.php:

    function avia_change_image_size_array() {
    global $avia_config;
    $avia_config[‘imgSize’][‘masonry’] = array(‘width’=>1500, ‘height’=>1500 , ‘crop’ => false);	// images for fullscreen masonry
    add_action( 'init', 'avia_change_image_size_array');
    

    Best regards,
    Andy

    #445234

    Hey,

    Yes i will use simple image size and it works very well.. Thanks for the code

    #446383

    Hi!

    you are welcome. Let us know in a new ticket when you need some more help with the theme. We are happy to assist you :).

    Best regards,
    Andy

    #467555

    is there also a hook to disable the images in the masonry grid?

    #468782

    Hey!


    @hunter74

    Please open a new ticket for a new question.
    What do you mean exactly? why do you want to disable any images in masonry grid? Please elaborate and a link to your website showing the issue would help us a lot.

    Regards,
    Andy

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Masonry Gallery – Thumbnails not Sharp’ is closed to new replies.