Output specific custom images sizes
-
Hi and thanks for the amazing plugin!
I’m trying to output specific custom images sizes, but it don’t seem to work:
$thumbnail_id = get_post_thumbnail_id( $post->ID ); echo rwp_picture( $thumbnail_id, array( 'sizes' => array( 'headerpic-small', 'headerpic-medium', 'headerpic-large' ) ) );
Is that the wrong code to do something like that?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Output specific custom images sizes’ is closed to new replies.