• Resolved Sho-Down

    (@sho-down)


    When using %POST_THUMBNAIL% in the highest rated template I’d like to create a thumbnail size using add_image_size in my functions file. Currently WP_PostRatings uses 96×96 so I’m having to resize it using CSS and I’d rather just serve the 50×50 thumbnail image. Is there a way to do this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Unfortunately not, it uses the default WP thumbnail size set by your theme or WordPress.

    Thread Starter Sho-Down

    (@sho-down)

    I got it working. I’ve already disabled all WordPress image/thumbnail sizes and disabled my theme’s sizes and created my own sizes, adding the following to my functions file fixed it:

    if ( function_exists( 'add_image_size' ) ) {
    add_image_size( 'thumbnail', 50, 50, false );
    }

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘POST_THUMBNAIL question’ is closed to new replies.