Hi,
Thank you ask.
My blog use flickr image as featured image by this plugin.
below is my template code.
content.php
<header class="entry-header">
<?php if ( FlickrPress::isExtractThumbnailByPostID( get_the_ID() ) ) { ?>
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_post_thumbnail('m'); ?></a>
<?php } else { ?>
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_post_thumbnail('thumbnail'); ?></a>
<?php } ?>
</header><!-- .entry-header -->
you can specify flickr image size to the_post_thumbnail
function.
the_post_thumbnail
is return first image in post if turn on this feature.
if you want to enable this option you can turn on from settings page of FlickrPress.
Extract Thumbnail in Post
The first flickr image in article I use as a thumbnail.
or you can turn on per posts from post new/edit page.
Use Post Thumbnail:
If your intention is different, please tell us the use case.
Thank you.
-
This reply was modified 7 years, 1 month ago by tatsuya.