{"id":211,"date":"2010-11-22T16:12:00","date_gmt":"2010-11-22T21:12:00","guid":{"rendered":"http:\/\/demo.solostream.com\/wp-davinci\/?p=211"},"modified":"2010-11-22T16:12:00","modified_gmt":"2010-11-22T21:12:00","slug":"how-to-add-post-thumbnails-to-your-posts","status":"publish","type":"post","link":"https:\/\/demo.solostream.com\/wp-davinci\/2010\/11\/22\/how-to-add-post-thumbnails-to-your-posts\/","title":{"rendered":"How to Add Post Thumbnails to Your Posts"},"content":{"rendered":"<p>If you look at the <a href=\"\/wp-davinci\/\">home page<\/a> of this site, you&#8217;ll see that each post below the featured articles has a thumbnail image next to it. Adding thumbnail images to your posts is pretty simple, and here&#8217;s all you need to do.<\/p>\n<p><!--more--><\/p>\n<h3>Install and Activate the &#8220;Get The Image&#8221; Plugin<\/h3>\n<p>This plugin, created by a savvy WordPress developer named Justin Tadlock, will greatly simplify the task of placing your post thumbnail images right where they belong.<\/p>\n<p><strong>Download the plugin <a href=\"http:\/\/wordpress.org\/extend\/plugins\/get-the-image\/\">here<\/a><\/strong> or add it through your WordPress control panel. Install and activate.<\/p>\n<h3>What this Plugin Will Do<\/h3>\n<p><strong>1. It will look for any images<\/strong> that you&#8217;ve uploaded to your post.<\/p>\n<p><a href=\"http:\/\/demo.solostream.com\/wp-davinci\/wp-content\/uploads\/sites\/9\/2010\/11\/gallery.gif\"><img decoding=\"async\" class=\"alignright size-thumbnail wp-image-215\" title=\"gallery\" src=\"http:\/\/demo.solostream.com\/wp-davinci\/wp-content\/uploads\/sites\/9\/2010\/11\/gallery-150x150.gif\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p><strong>2. If it finds one or more images<\/strong>, it will automatically place the 1st image &#8211; as a thumbnail &#8211; where it belongs on your site.<\/p>\n<p><strong>3. If you&#8217;ve 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>4. 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>5. If you don&#8217;t upload any images<\/strong> for the post, a default image will appear (unless you deactivate this feature on your Theme Settings page).<\/p>\n<h3>Help, My Images Are Not Showing Up<\/h3>\n<p>If you&#8217;ve activated the plugin and your thumbnails or featured article images are not appearing, it&#8217;s likely do to one of the following issues related to the timthumb script which automatically re-sizes your images:<\/p>\n<p><strong>1. Your image cache folder is not writeable by your server<\/strong>. In this case, the folder that contains your thumbnails and featured images is not accessible by the timthumb script. The solution is to change the folder&#8217;s permissions. You can do this by using an FTP program to CHMOD the \/scripts\/cache folder found within your theme folder. The folder permissions will need to be set at either 755 or 777 (depending on your web server setup).<\/p>\n<p><strong>2. Your web host&#8217;s security settings are blocking the timthumb script<\/strong>. Some web host have various default security settings that prevent the timthumb script from functioning properly (Hostgator is an example). <\/p>\n<p>You&#8217;ll need to contact your web host&#8217;s technical support, and tell them you are trying to use the timthumb script on a WordPress site, but you believe there is a security setting that is preventing it from functioning. They should be able to correct the problem very quickly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you look at the home page of this site, you&#8217;ll see that each post below the featured articles has a thumbnail image next to it. Adding thumbnail images to your posts is pretty simple, and here&#8217;s all you need to do.<\/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":[10],"tags":[],"class_list":["post-211","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"acf":[],"_links":{"self":[{"href":"https:\/\/demo.solostream.com\/wp-davinci\/wp-json\/wp\/v2\/posts\/211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.solostream.com\/wp-davinci\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demo.solostream.com\/wp-davinci\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-davinci\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-davinci\/wp-json\/wp\/v2\/comments?post=211"}],"version-history":[{"count":0,"href":"https:\/\/demo.solostream.com\/wp-davinci\/wp-json\/wp\/v2\/posts\/211\/revisions"}],"wp:attachment":[{"href":"https:\/\/demo.solostream.com\/wp-davinci\/wp-json\/wp\/v2\/media?parent=211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-davinci\/wp-json\/wp\/v2\/categories?post=211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-davinci\/wp-json\/wp\/v2\/tags?post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}