
-
AuthorPosts
-
March 26, 2025 at 9:15 pm #1480223
I’m using the blog posts element, I’ve set the preview image size to manual and selected Masonry 705x705px, but all the preview images on my blog page are still different sizes. I was expecting them all to conform to the 1:1 aspect ratio. I’ve cleared cache already.
March 27, 2025 at 5:59 am #1480242Hey mosaic,
Thank you for the inquiry.
Please note that the specified size of 705x705px is the maximum dimension of the thumbnail. The generated thumbnail will not be cropped to this dimension and will still retain its aspect ratio. For example, if the uploaded image has a landscape orientation and is larger than 705px, the generated masonry thumbnail will have a maximum width of 705px, but the height might vary based on the calculated ratio. You may need to select a different thumbnail such as magazine, portfolio or portfolio_small.
Best regards,
IsmaelMarch 28, 2025 at 3:38 pm #1480393None of the thumbnail sizes are working. I’ve tried all of them including square which is smaller than the ones you mentioned and none of them have any effect. I’ve cleared cache each time. User details in private content if you need to check.
March 31, 2025 at 7:35 am #1480507Hi,
Thank you for the update.
The image size settings were not being applied because of the post_thumbnail_size filter in the functions.php file. We adjusted the condition a bit.
if( !is_singular('post') && is_page(1307) ) {
(removed screenshot)
Best regards,
IsmaelMarch 31, 2025 at 9:05 am #1480510Hi I’ve cleared the website cache and checked the page from an incognito browser but I’m not seeing what you are. The problem still seems to be the same as far as I can see. Can you double check and make sure it’s working?
Also, please could you remove the screenshot from your reply. I prefer my website to remain anonymous.
April 1, 2025 at 5:28 am #1480554Hi,
We removed the screenshot. Have you tried clicking “Purge All” in the LiteSpeed Cache plugin?
Best regards,
IsmaelApril 1, 2025 at 8:27 am #1480563I had done but nevertheless it seems to be working this morning so must’ve been cached. Thank you!
April 1, 2025 at 3:42 pm #1480584 -
AuthorPosts
- You must be logged in to reply to this topic.