- This topic has 18 replies, 3 voices, and was last updated 2 months, 2 weeks ago by Tom.
April 14, 2020 at 5:53 am #1238501Jan Pecenka
I have two webs with GP Premium. 3 columns layout on archive page and set a featured image width 560px/height 315px. On first web is everything ok, all featured image are crop to 560×315. On second web cropping doesnt´t work. Images having different height. Settings is same. Can you help?April 14, 2020 at 7:13 am #1238572DavidStaffCustomer SupportApril 14, 2020 at 7:17 am #1238578Jan Pecenka
Botu sítě using Lazy loading.April 14, 2020 at 7:17 am #1238580Jan Pecenka
Both sítě using Lazy loading.April 14, 2020 at 3:30 pm #1239254DavidStaffCustomer Support
We’re just about to release GPP 1.10:
This has made an update to the Image resizer which may fix the issue – if not i can do so with some CSS but it may be worth waiting until you update. Let me knowApril 15, 2020 at 4:28 am #1239757Jan Pecenka
Hi, works but…
In customizer I have set 560x315px for featured image in archive page.
But when my column have example width 410px so image have width 410px but height is still 315px. I mean… when I add video from youtube it works. Video automatically set to 410x230px.
Problem is probably with different image size… 🙂
So thanks for help.April 15, 2020 at 8:13 pm #1240907TomLead DeveloperLead DeveloperApril 16, 2020 at 1:30 pm #1242111Jan PecenkaApril 16, 2020 at 4:42 pm #1242243TomLead DeveloperLead Developer
Been looking at this. It’s just the way our new CSS resized images work.
To fix this, I suggest creating your own image size and then choosing it from the Media Attachment Size option: https://docs.generatepress.com/article/adding-image-sizes/
Then you can empty the width/height options in the Customizer and it will serve the exact size you want.May 3, 2020 at 8:57 am #1267672Jan Pecenka
I tryed. Problem is probably on my side with different image size…
Thanks for help.May 3, 2020 at 9:37 am #1267763TomLead DeveloperLead DeveloperMay 3, 2020 at 10:27 am #1267820Jan Pecenka
I add to functions.php but doesn´t work for all images. Maybe I do something wrong.May 3, 2020 at 4:57 pm #1268060TomLead DeveloperLead Developer
So you added the function to your site, then set the image size in Customize > Layout > Blog?
Make sure you that you regenerated your images after adding the new size as well: https://wordpress.org/plugins/regenerate-thumbnails/May 6, 2020 at 9:03 am #1272290Jan Pecenka
Yes. I regenerated thumbnails too. But something is wrong.May 6, 2020 at 3:16 pm #1272830
- You must be logged in to reply to this topic.