Support » Plugin: Taxonomy Images » Dispalying full size images instead of thumbnails
5 years, 6 months ago
i want to use full size images as Taxonomy Images, how it can be done ?
5 years, 1 month ago
hi @aircut. i dont know if u found a solution, but just go to your function.php file. in there add an image size that you want like this:
add_image_size('custom_tax_size',800, 600, true);
where 800 is the width and 600 is the height.
then simply call the image size like so:
<?php esc_url( get_term_link( $termitem, $termitem->taxonomy ) );?>"
<?php wp_get_attachment_image( $termitem->image_id, 'custom_tax_size' );
in other words, replace the ‘detail’ parameter with the name of your image size.