Home › Toolset Professional Support › 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 replies, has 2 voices.
Last updated by SD 9 years, 2 months ago.
Assigned support staff: Caridad.
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 ?
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.
Known issues and solutions
Frequently asked support questions
Support tickets archive
Get help from experienced contractors
Meet Toolset support team
Toolset Customer Support Policy
Need to tell us something about the quality of support
How to remove personal information from your database for support