-
AuthorPosts
-
May 2, 2015 at 1:04 pm #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
May 4, 2015 at 6:06 pm #439165Hallo Support Team,
Ist es möglich bzgl. meinem Problem hier Hilfe zu erhalten ?
Vielen Dank
May 6, 2015 at 5:21 am #440102Hey!
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,
IsmaelMay 10, 2015 at 8:29 am #442072Hy 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
May 10, 2015 at 7:48 pm #442135Hi 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.phpkind regards
BerndMay 14, 2015 at 4:19 pm #444368Hey!
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,
AndyMay 16, 2015 at 5:35 am #445234Hey,
Yes i will use simple image size and it works very well.. Thanks for the code
May 19, 2015 at 12:55 pm #446383Hi!
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,
AndyJuly 2, 2015 at 3:11 pm #467555is there also a hook to disable the images in the masonry grid?
July 6, 2015 at 10:48 am #468782Hey!
@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 -
AuthorPosts
- The topic ‘Masonry Gallery – Thumbnails not Sharp’ is closed to new replies.