Skip Navigation

[Resolved] Toolset IMG field does not crop (part 2)

This thread is resolved. Here is a description of the problem and solution.

Problem:
The customer reported that after switching to PHP 8, the cropping of images from Toolset image fields doesn't work.

Solution:
Guided that this issue is already reported and a fix is planned to be covered in the next release of Toolset Types (3.4.17).

Meanwhile, a patch is available for a fix at the erratum page.

Relevant Documentation:
https://toolset.com/errata/custom-sized-images-not-working-when-output-via-types-shortcode/

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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by kristofG 1 year, 10 months ago.

Assisted by: Waqar.

Author
Posts
#2401841

I am picking up on previous ticket https://toolset.com/forums/topic/toolset-img-field-does-not-crop/
Site is now a while on a PHP8 server, still, only some images crop, while others don't.
hidden link
Is there something else we could try?

#2401915

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting us and I'd be happy to assist.

The issue between the custom resizing of the images and PHP 8 is already reported and a fix is planned to be covered in the next release of Toolset Types (3.4.17).

For now, a patch is available at:
https://toolset.com/errata/custom-sized-images-not-working-when-output-via-types-shortcode/

I hope this helps and let me know if you have any difficulty in applying the patch.

regards,
Waqar

#2401917

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

{ticket status updated}

#2401935

your patched file indeed fixed the issue for me

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.