Skip Navigation

[Resuelto] Tried everything suggested in the forum about Taxonomy Images without success !

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

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 -
- - - - - - -

Supporter timezone: Europe/Madrid (GMT+01:00)

This topic contains 18 respuestas, has 2 mensajes.

Last updated by SD hace 10 años, 2 meses.

Assigned support staff: Caridad.

Autor
Mensajes
#109808

Dear Stelios,

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

Regards,
Caridad

#109827

SD

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 ?

#110667

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:

http://codex.wordpress.org/Function_Reference/add_image_size

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.

Regards,
Caridad

#111334

SD

Caridad, you are amazing.

Thank you very much for all you help and patience.

Cheers,
Stelios