Passer la navigation

[Résolu] Toolset IMG field does not crop (part 2)

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 support ticket is created Il y a 3 années. There's a good chance that you are reading advice that it now obsolete.

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 -

Fuseau horaire du supporter : Asia/Karachi (GMT+05:00)

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par kristofG Il y a 3 années.

Assisté par: Waqar.

Auteur
Publications
#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.
lien caché
Is there something else we could try?

#2401915

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

{ticket status updated}

#2401935

your patched file indeed fixed the issue for me