WordPress.org

Ready to get started?Download WordPress

Forums

Get the Image
Showing image and shrinking it rather than using thumbnail (1 post)

  1. Workshopshed
    Member
    Posted 1 year ago #

    I'm using get_the_image when showing post excerpts as follows:

    get_the_image(array( 'image_scan' => true , 'image_class' => 'excerpt-thumbnail','width' => 150 , 'height' => 150));

    When my post has a featured image or the image is attached it's showing the 150x150 version of the images.

    However when it's falling back on the scan it's showing a large image and resizing it in the browser to 150x150 rather than using the available thumbnail. The particular image is attached to a different page hence does not attached to this post when I insert it from the gallery.

    Is there any way I can get it to check for thumbnails in this situation?

    http://wordpress.org/extend/plugins/get-the-image/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic