Tagged: image cropping, masonry
-
AuthorPosts
-
December 21, 2020 at 7:29 pm #1269120
We would like to feature the most recent blog posts from certain categories in different places on our site. Easy, we just inserted a “full-width masonry line” and the posts appear nicely. It’s always either 3 or 4 posts we feature there.
Problem:
The preview images are badly cropped and no sight. Element is located on the homepage.Solution tried:
Sized all images in identical px sizes but that did not prevent the cropping.Objective:
Have uncropped images displayed in the masonry grid.Please advice.
Thank you. Jens- This topic was modified 3 years, 11 months ago by DGITeV.
December 23, 2020 at 9:27 pm #1269630Hey DGITeV,
Please have a look at the following thread:
https://kriesi.at/support/topic/change-image-size-on-masonry-gallery/#post-1200646If you need further assistance please let us know.
Best regards,
VictoriaJanuary 4, 2021 at 2:48 pm #1270157Thanks, Victoria – but even after spending 3 hrs on that, I did not get anywhere.
1) As suggested in the support post you were linking, I installed https://wordpress.org/plugins/simple-image-sizes/
2) There, I redefined my “masonry” size to 856 x 528 px, which is the size and proportion I have here on my screen. Ticked “no cropping”
3) I edited my image uploaded it to the library in that very size and proportion and set it as “featured image” in the respective post.Still, the image is getting cropped on the homepage using ““full-width masonry line”.
What did I do wrong?Cheers, Jens
January 7, 2021 at 3:47 am #1270742Hi,
Thank you for the update.
The size of the masonry images are now 856x528px, but you do not see the bottom part because of the masonry content, which is currently over or on top of the image. The edges are also cut off because the aspect ratio of the image is not the same as the masonry item container.
Best regards,
IsmaelJanuary 25, 2021 at 5:51 pm #1275311Thank you, Ismael, for seeing the problem as well.
But what is the solution?
A certain image aspect ratio? If we have the wrong ratio – which would be the right one then?January 27, 2021 at 10:35 am #1275704Hi,
Images in the masonry element should be squarish or have an aspect ratio of 1:1 but make them slightly tall to make room for the masonry content in the bottom part of the masonry container. We cannot access the site because there seems to be a database issue.
Best regards,
IsmaelJanuary 28, 2021 at 12:49 pm #1276043Well.. I couldn’t see how a 1:1-ish image could be rendered uncropped in a 1:1.5-ish container..
Giving up with the fullwidth masonry element here and will be using other content elements – not quite as visually appealing and not automated for updated contents, but they will do the job here..
Thank you anyway, no problem.
January 29, 2021 at 4:56 am #1276224Hi,
Thank you for the info.
Last time we checked, the Masonry element is set to 3 columns, which is why we recommended a squarish images. For full width or a single column Masonry element, you should use a wider image. Please note that the maximum size of the default thumbnail used in the Masonry element is 705x705px.
Best regards,
IsmaelJanuary 29, 2021 at 6:37 am #1276248You just logically cannot turn a 1:1 into a 1:1.5 without cropping, can you? It’s just VERY basic numbers.
January 29, 2021 at 6:46 am #1276249I close this thread – and not utterly happy, but reasonably ok declare: Enfold and masonry does not really work well. Please work on it. This is not production & sales-ready what you have (I know, masonry and the whole parametric are inherently tricky.)– Otherwise: A brilliant theme!
Support, in this very case, I’m afraid to say, was completely useless with no result. – It’s the code though, I reckon.
- This reply was modified 3 years, 9 months ago by DGITeV.
February 1, 2021 at 3:59 am #1276653 -
AuthorPosts
- The topic ‘How to avoid feature image cropping in a masonry line of blog posts?’ is closed to new replies.