- This topic has 11 replies, 4 voices, and was last updated 3 years, 4 months ago by
David.
-
AuthorPosts
-
December 3, 2022 at 10:09 am #2448210
Philippe
Hi,
WordPress has started resizing my largest images just today (from 1200 x 630 to 924 x 630). Not all of them are impacted when looking at each picture in the Media Library but a few, and only the new one I uploaded today does effectively appear as 924 x 630 on the website. I uploaded it several times under different names; WP automatically resized it each. This has never happened before.
So far, I put this in php: add_filter( ‘big_image_size_threshold’, ‘__return_false’ ); and it did nothing. I put all sizes to 9999 in Media settings. Still no luck.
Thanks for helping me stop WP from doing its own thing without my consent.
Philippe
December 3, 2022 at 12:03 pm #2448304Leo
StaffCustomer SupportHi Philippe,
That sounds strange that it would happen all of the sudden.
Are you sure it’s not a conflict from another plugin?
Have you checked with WP’s support team to see if they can comment?
December 4, 2022 at 3:29 am #2448820Philippe
Thanks, Leo.
I turned off all plugins and the same thing is occurring. It is definitely a WP issue and I would be curious to know if other people are going to report the same one to you in the coming days. In the meantime, I contacted WP’s support team.
Best,
Philippe
December 4, 2022 at 6:40 am #2448997David
StaffCustomer SupportHi there,
can you share a link to where we can see the problem image ?
December 4, 2022 at 7:51 am #2449162Philippe
Hi David,
Here it is: https://onehomeplanet.com/pathways-to-a-post-capitalist-world/
You will see the difference if you click on another post or go to the homepage. I worked this morning with the WP support on this issue; it appears that if I use another theme than Generatepress (Twenty Twenty Three), the problem disappears. So, they recommended going back to you. They also mentioned the wp-config.php file; what should I look for there?
Previously, I turned off all plugins and followed these steps to solve the issue:
1/ Uploaded the image several times under different names;
2/ Put this in functions.php: add_filter( ‘big_image_size_threshold’, ‘__return_false’ );
3/ Set all sizes to 9999 in Media settings.Nothing worked, so far, except getting out of Generatepress.
December 4, 2022 at 5:32 pm #2449578Fernando Customer Support
Hi Philippe,
For clarity, can you take a screenshot of an image that’s been wrongfully resized from your end?
Uploading Screenshots: https://docs.generatepress.com/article/using-the-premium-support-forum/#uploading-screenshots
December 5, 2022 at 1:27 am #2449894Philippe
Hi Fernando,
1/ The link you gave me is obsolete;
2/ Why not go to the website itself to see what I am talking about?December 5, 2022 at 4:21 am #2450079David
StaffCustomer SupportIn Customizer > Layout > Blog –> Featured images, theres a separate Tab for Archive, Posts and Pages.
What attachment sizes and or width / height measurements ( if any ) do you have set for Posts and Archives ?December 5, 2022 at 5:54 am #2450177Philippe
None. And this seems to be for the better because if I give a width/height measurement here for featured images, the system will try to force it on the homepage both in the post display on top, which occupy the full available space width, and in the subsequent posts that occupy the space of one of the two columns below. In clear, giving 1200 x 630 (the original size of my featured images) results in having these other posts images on the homepage displaying 300 (or so) x 630. Individual posts will display 1000 (size of the container) x 630.
If there are no measurements set for featured images, they appear in the correct relative proportions for each and every post, including on the homepage, except the darn last one. This makes me think to recreate it entirely, just to check.
If there is no solution at that stage, it is no big deal. I will be back later on this.
December 5, 2022 at 6:14 am #2450204Philippe
I recreated the post and the featured image is still resized by the system from 1200 x 630 to 924 x 630.
The issue seems therefore to be in a post setting that I am missing, as all posts from now on will likely resize their featured image.
December 5, 2022 at 7:09 am #2450269Philippe
It seems I found the answer. Shortpixel plugin was causing the issue.
Could have thought of that earlier. ):
December 5, 2022 at 8:13 am #2450454David
StaffCustomer SupportGlad to hear you found the issue!
-
AuthorPosts
- You must be logged in to reply to this topic.