Support » Plugin: wp-flickr-press » Using FlickrPress for featured images

  • Hi,
    I’d like to use my Flickr images as featured images too. Now I need to upload the images I want as featured images to the WWordpress repository instead of using Flickr where I store my images.
    Is it included in the road map for future updates?

    Best regards
    /Kjell

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author tatsuya

    (@tatsuya)

    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 1 year, 12 months ago by  tatsuya.

    Hi,
    thank you for a rapid answer.
    I don’t quite follow your thoughts 🙁
    What content.php?
    I’m using a child theme.

    Sometimes I like to have a featured image that’s not in the post and sometimes I’d like the featured image to be other than the first. So my request is to be able to chose featured image just as easy as I chose any Flickr image in the media gallery pop-up.

    Best regards
    /Kjell

    Plugin Author tatsuya

    (@tatsuya)

    Hi,

    content.php is theme template file.

    umm, currently not have milestone ur use-case.

    Thank you.

    Thanks for clarification! I also wanted to use that option 🙂

    Maybe you could be so kind and add a short notice like example of changes in content.php next to the ON/OFF button.
    Just an idea to avoid further requests…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Using FlickrPress for featured images’ is closed to new replies.