{"id":523,"date":"2009-04-01T11:03:14","date_gmt":"2009-04-01T16:03:14","guid":{"rendered":"http:\/\/www.wp-smooth.com\/?p=523"},"modified":"2014-11-12T14:20:45","modified_gmt":"2014-11-12T14:20:45","slug":"how-to-add-images-for-your-featured-articles","status":"publish","type":"post","link":"https:\/\/demo.solostream.com\/wp-chatter\/2009\/04\/01\/how-to-add-images-for-your-featured-articles\/","title":{"rendered":"How to Add Images for Your Featured Articles"},"content":{"rendered":"<h2>Step 1: Make Sure You Get the Size Correct<\/h2>\n<p>The ideal size for the images that appear in the Featured Articles Glider is as follows:<\/p>\n<p><strong>width<\/strong>: 630px<br \/>\n<strong>height<\/strong>:  250px<\/p>\n<p><strong>If you won&#8217;t be using the Featured Article Glider<\/strong>, and instead will be listing your featured articles separately (as they are listed on this site), the ideal size for your image is 300px wide. The height can be whatever you&#8217;d like it to be.<\/p>\n<h2>Step 2: Use the &#8220;Get The Image&#8221; Plugin<\/h2>\n<p>This plugin, created by a savvy WordPress developer named Justin Tadlock, will greatly simplify the task of placing your featured article images right where they belong.<\/p>\n<p><strong>Download the plugin <a href=\"http:\/\/justintadlock.com\/archives\/2008\/05\/27\/get-the-image-wordpress-plugin\">here<\/a><\/strong>. Installation is pretty simple &#8230;<\/p>\n<ol>\n<li>Unzip the file.<\/li>\n<li>Upload get-the-image.php file to your wp-content\/plugins folder.<\/li>\n<li>Activate the plugin on your Plugins page.<\/li>\n<\/ol>\n<p><strong>What this plugin will do<\/strong>:<\/p>\n<p><strong>1. It will look for any images<\/strong> that you&#8217;ve uploaded to your post.<\/p>\n<p><a href=\"\/wp-content\/uploads\/2014\/11\/\/gallery.gif\"><img decoding=\"async\" class=\"alignright size-thumbnail wp-image-78\" title=\"gallery\" src=\"\/wp-content\/uploads\/2014\/11\/\/gallery-150x150.gif\" alt=\"gallery\" width=\"150\" height=\"150\" \/><\/a><strong>2. If it finds one or more images<\/strong>, it will automatically place the 1st image &#8211; as a featured article image &#8211; where it belongs on your site.<\/p>\n<p><strong>Note 1: If you have uploaded multiple images to your post<\/strong>, it will use the #1 image as set in the gallery section of your media uploader (click thumbnail to the right).<\/p>\n<p><strong>Note 2: If you don&#8217;t want the image to appear in the post content<\/strong>, just don&#8217;t insert it into the post. The plugin will still grab the 1st image you&#8217;ve uploaded to the post and place it correctly.<\/p>\n<p><strong>3. If it does not find any images (because you didn&#8217;t upload any)<\/strong> for the post, no image will appear for that post in the Featured Article section. As for the post thumbnails, it will place a default thumbnail unless you have deactivated that feature on your Theme Settings page.<\/p>\n<h2>Step 3: Upload Your Image<\/h2>\n<p><a href=\"\/wp-content\/uploads\/2014\/11\/\/gallery.gif\"><img decoding=\"async\" class=\"alignright size-thumbnail wp-image-78\" title=\"gallery\" src=\"\/wp-content\/uploads\/2014\/11\/\/gallery-150x150.gif\" alt=\"gallery\" width=\"150\" height=\"150\" \/><\/a>Click the &#8220;Add an Image&#8221; button just above the post editor, and upload your image. There&#8217;s no need to insert the image within the post content unless you want to do that.<\/p>\n<p>Once you upload your image, the theme will choose the first image it finds that you have uploaded and use it as the image for the Featured Article section. If you upload more than 1 image to your post, just make sure your Featured Article image is #1 image listed in the gallery (you may have to move the image up to the #1 spot).<\/p>\n<h2>Another Option: Use a Custom Field<\/h2>\n<p>Although the above method seems most simple, you may want to use the custom field method instead.<\/p>\n<p>To do so, add a new custom field named: <strong>home_feature_photo<\/strong><\/p>\n<p>In the Value field, you&#8217;ll need to add the URL path to the image.<\/p>\n<p>Example:<br \/>\n<code>http:\/\/www.mysite.com\/wp-content\/uploads\/2009\/04\/filename.jpg<\/code><\/p>\n<p>And that&#8217;s it. The theme will do the rest.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to add images for your Featured Articles.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-523","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"acf":[],"_links":{"self":[{"href":"https:\/\/demo.solostream.com\/wp-chatter\/wp-json\/wp\/v2\/posts\/523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.solostream.com\/wp-chatter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demo.solostream.com\/wp-chatter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-chatter\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-chatter\/wp-json\/wp\/v2\/comments?post=523"}],"version-history":[{"count":2,"href":"https:\/\/demo.solostream.com\/wp-chatter\/wp-json\/wp\/v2\/posts\/523\/revisions"}],"predecessor-version":[{"id":662,"href":"https:\/\/demo.solostream.com\/wp-chatter\/wp-json\/wp\/v2\/posts\/523\/revisions\/662"}],"wp:attachment":[{"href":"https:\/\/demo.solostream.com\/wp-chatter\/wp-json\/wp\/v2\/media?parent=523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-chatter\/wp-json\/wp\/v2\/categories?post=523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-chatter\/wp-json\/wp\/v2\/tags?post=523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}