Skip Navigation

[Résolu] Tried everything suggested in the forum about Taxonomy Images without success !

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.

This topic contains 18 réponses, has 2 voix.

Last updated by SD Il y a 8 années et 3 mois.

Assigned support staff: Caridad.


Dear Stelios,

The upload is done with WordPress, maybe you can use a generic plugin for cropping?




Hm...what you mean by a generic plugin ? I just need it to crop it so it keeps the aspect ratio at the dimensions we give to shortcode in functions instead of stretching to fit to the dimensions. Does it makes sense what im trying to say ?


Dear Stelios,

You can add an image size to WordPress with the configuration you need. Here you can specify if the image is cropped or not:

Then you can use that image size in your code, replacing this line:

$image = wp_get_attachment_image_src( $attachment_id, 'yoursize' );

Let me know if you have any problems with this.




Caridad, you are amazing.

Thank you very much for all you help and patience.