{"id":211,"date":"2010-11-22T16:12:00","date_gmt":"2010-11-22T21:12:00","guid":{"rendered":"http:\/\/wp-clear-new.solostreamsites.com\/?p=211"},"modified":"2014-10-27T08:47:42","modified_gmt":"2014-10-27T08:47:42","slug":"how-to-add-post-thumbnails-to-your-posts","status":"publish","type":"post","link":"https:\/\/demo.solostream.com\/wp-attract\/2010\/11\/22\/how-to-add-post-thumbnails-to-your-posts\/","title":{"rendered":"How to Add Post Thumbnails to Your Posts"},"content":{"rendered":"<p>Adding thumbnail images to your posts is pretty simple. Follow the short guide, and you&#8217;ll know all you need to know.<\/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>The plugin will search for images in the following order:<\/h3>\n<p>1. First, it will look for an image by custom field (custom field name: thumbnail).<\/p>\n<p>2. If no image is added by custom field, it will check for and image defined as the &#8220;featured image&#8221; on the Add Post screen (WordPresss 2.9+ feature).<\/p>\n<p><a href=\"http:\/\/demo.solostream.com\/wp-attract\/wp-content\/uploads\/sites\/13\/2010\/11\/gallery.gif\"><img decoding=\"async\" src=\"http:\/\/demo.solostream.com\/wp-attract\/wp-content\/uploads\/sites\/13\/2010\/11\/gallery-150x150.gif\" alt=\"\" title=\"gallery\" width=\"150\" height=\"150\" class=\"alignright size-thumbnail wp-image-215\" \/><\/a>3. If no image is found in either of those places, it will look for an image that you&#8217;ve uploaded to the post. If you&#8217;ve uploaded multiple images to your post, it will use the #1 image as set in the gallery section of your media uploader (click thumbnail to the right).<\/p>\n<p>4. If no image is attached, it will extract an image from your post content.<\/p>\n<p>5. Finally, if no image is found via any of those methods, the default image will be displayed unless you deactivate that function on the 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>Adding thumbnail images to your posts is pretty simple. Follow the short guide, and you&#8217;ll know all you need to know.<\/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-attract\/wp-json\/wp\/v2\/posts\/211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.solostream.com\/wp-attract\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demo.solostream.com\/wp-attract\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-attract\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-attract\/wp-json\/wp\/v2\/comments?post=211"}],"version-history":[{"count":2,"href":"https:\/\/demo.solostream.com\/wp-attract\/wp-json\/wp\/v2\/posts\/211\/revisions"}],"predecessor-version":[{"id":4919,"href":"https:\/\/demo.solostream.com\/wp-attract\/wp-json\/wp\/v2\/posts\/211\/revisions\/4919"}],"wp:attachment":[{"href":"https:\/\/demo.solostream.com\/wp-attract\/wp-json\/wp\/v2\/media?parent=211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-attract\/wp-json\/wp\/v2\/categories?post=211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-attract\/wp-json\/wp\/v2\/tags?post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}