Saltar navegación

[Resuelto] Custom predefined image size not used

This support ticket is created hace 5 años, 4 meses. 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)

Este tema contiene 0 respuestas, tiene 1 mensaje.

Última actualización por martijnH hace 5 años, 4 meses.

Asistido por: Shane.

Autor
Mensajes
#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:
enlace oculto

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

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

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

Thanks!
Martijn

#1343059