Skip Navigation

[Resolved] The update to WP 6.7.1 still did not solve the wrong image size issue for my sit

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 21 replies, has 1 voice.

Last updated by Minesh 2 weeks, 3 days ago.

Assisted by: Minesh.

Author
Posts
#2787589

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

That is really strange.

But with WordPress 6.7.1 it says that the issue is fixed.
- https://make.wordpress.org/core/2024/11/20/wordpress-6-7-1-rc1-is-now-available/
[see: Media: Auto-resizes reducing image sizes]

This is the official ticket:
- https://core.trac.wordpress.org/ticket/62413

I see the solution shared there:
- https://core.trac.wordpress.org/ticket/62413#comment:40

It suggest to add the following line of code:

add_filter('wp_img_tag_add_auto_sizes', '__return_false');

So, I go ahead and added a code snippet "toolset-custom-code" to "Custom Code" section offered by Toolset and added the above line of code to it:
=> hidden link

add_filter('wp_img_tag_add_auto_sizes', '__return_false');

And then I checked your test page: hidden link

I can see it works as expected. Having said that I'm not sure if its fixed with WordPress or they missed some points where auto size causes the issue or its from Toolset. But if its from Toolset we should have number of users reporting the issue but for now I do not see any other user who reported such issue.

#2787591

Hi Minesh, yes it is really strange, and I agree that if it was a widespread issue you would have heard from more users by now. But my site is not that sophisticated and complex either... A mystery!
I checked my site and you are right: almost all of the pages where I use the Thumbnail and Medium formats present themselves normal again. Also those where i use non standard size images look good.
But one thing is still not right: from many places in the webste I call the page that gives images and text about a single object. It is a the only page I use the Front End template for under Toolset/Dashboard. It is the Object template for the Objectdbs, and the links give a "Page does not seem te exist " message. hidden link as example. This is the template were you added the Custom Size to force the image to the Medium format. I removed your modification so it should now work again as it did before the probelm started. Can you have a look at thsi template and find out why it is not working anymore??? I had a quick look at it but it baffles me:( Big thanks for your work until now, I think we are almost there!!!

#2787598

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - I try to check for post with ID 9930 but I do not see any such posts exists in the system.
See: - hidden link

#2787608

Sorry, message was sent to quickly. See the first message on page 1 where you can see how the page should look. It is as mentioned the Front end template for the Objectsdb, with the object number to call the data from the objects database into the template. It is a mystery to me why it has stopped working....

#2787610

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please check now.

I've just resaved the permalinks from: Settings => Permalink and I can see its working.

#2787616

Brilliant!! It all works again, with images the right size and full functionality!!! The cause might remain a mystery, but your perseverance has paid off!!! BIG THANKS! I could not have found these solutions myself

#2787617

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Glad to kow that your site is back to work and thats we want at the end.

You're welcome to mark resolve this ticket and share your support experince :).