Support » Plugin: Taxonomy Images » Dispalying full size images instead of thumbnails

  • i want to use full size images as Taxonomy Images, how it can be done ?

    • This topic was modified 5 years, 6 months ago by Aircut.
Viewing 1 replies (of 1 total)
  • 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' );
    					echo $termitem->image_id;

    in other words, replace the ‘detail’ parameter with the name of your image size.

Viewing 1 replies (of 1 total)
  • The topic ‘Dispalying full size images instead of thumbnails’ is closed to new replies.