Title: featherodd's Replies | WordPress.org

---

# featherodd

  [  ](https://wordpress.org/support/users/featherodd/)

 *   [Profile](https://wordpress.org/support/users/featherodd/)
 *   [Topics Started](https://wordpress.org/support/users/featherodd/topics/)
 *   [Replies Created](https://wordpress.org/support/users/featherodd/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/featherodd/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/featherodd/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/featherodd/engagements/)
 *   [Favorites](https://wordpress.org/support/users/featherodd/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [post thumbnail as facebook share thumbnail](https://wordpress.org/support/topic/post-thumbnail-as-facebook-share-thumbnail/)
 *  Thread Starter [featherodd](https://wordpress.org/support/users/featherodd/)
 * (@featherodd)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/post-thumbnail-as-facebook-share-thumbnail/#post-1505893)
 * tried a bunch of solutions and this seemed to do the trick:
 * added this to functions.php:
 *     ```
       function get_post_thumbnail_url() {
       	$thumbnail_id=get_the_post_thumbnail($post->ID, thumbnail);
       	preg_match ('/src="(.*)" class/',$thumbnail_id,$link);
       	echo $link[1];
       }
       ```
   
 * and this to my header:
 *     ```
       <?php if (is_home()) : ?>
       	<meta property="og:type" content="blog" />
       <?php else : ?>
       	<meta property="og:type" content="article">
       	<link rel="image_src" type="image/jpeg" href="<?php get_post_thumbnail_url() ?>" />
       	<meta property="og:image" content="<?php get_post_thumbnail_url() ?>"/>
       <?php endif; ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: NextGEN Gallery] Show thumbs resized image](https://wordpress.org/support/topic/plugin-nextgen-gallery-show-thumbs-resized-image/)
 *  [featherodd](https://wordpress.org/support/users/featherodd/)
 * (@featherodd)
 * [16 years ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-show-thumbs-resized-image/#post-1420229)
 * see:
    [http://joshmather.com/2010/04/19/using-the-nextgen-gallery-with-any-jquery-gallery-plugin/](http://joshmather.com/2010/04/19/using-the-nextgen-gallery-with-any-jquery-gallery-plugin/)

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