Skip Navigation

[Résolu] Custom predefined image size not used

This support ticket is created Il y a 5 années et 2 mois. There's a good chance that you are reading advice that it now obsolete.
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Ce sujet contient 0 réponses, a 1 voix.

Dernière mise à jour par martijnH Il y a 5 années et 2 mois.

Assisté par: Shane.

Auteur
Publications
#1342957

I have predefined a custom image size in my functions.php:
add_image_size( 'hero', 1900, 450, true );

In a view I use this format:
[types termmeta='bedrijfsthema-achtergrond' size='hero' url='true'][/types]

The view is used on:
lien caché

I expect to see the cropped version (I use https://wordpress.org/plugins/crop-thumbnails/ to adjust the crop region):
lien caché

Instead I see a file which seems to be generated by Toolset (notice the "wpcf_" in the filename):
lien caché

I would like to see my own cropped version of the file and not the "wpcf_" version.

Thanks!
Martijn

#1343059