{"id":49593,"date":"2015-06-22T03:20:06","date_gmt":"2015-06-22T07:20:06","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=49593"},"modified":"2017-09-14T06:47:16","modified_gmt":"2017-09-14T10:47:16","slug":"wordpress-how-to-add-an-image-to-widget","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/wordpress-how-to-add-an-image-to-widget.html","title":{"rendered":"WordPress. How to add an image to widget"},"content":{"rendered":"<p>\r\n<p>This tutorial will show you how to add an image to widget in WordPress.\r\n<p>\r\n\t<a href=\"http:\/\/www.youtube.com\/watch?v=JKCnG16rHFE?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to add an image to widget<\/a><\/p>\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/service-center\/\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-3-(835-x100).jpg\" \/>\r\n<\/a>\r\n<\/div>\r\n<p>In order to add an image to widget, follow the steps listed below:<\/p>\r\n<ol>\r\n<li>\r\n<p>First of all, you need to upload a new image to your WordPress website.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Log into your WordPress admin panel and navigate to <strong>Media<\/strong> tab:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_1-300x169.jpg\" alt=\"wordpress_how_to_add_an_image_to_widget_1\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-49594\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_1-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_1-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_1.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Click on <strong>Add New<\/strong> button, then click on <strong>Select Files<\/strong> and upload the image that you want to see in a widget:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_2-300x169.jpg\" alt=\"wordpress_how_to_add_an_image_to_widget_2\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-49595\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_2-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_2-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_2.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>After uploading the image you need to click on the image to copy its URL:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_3-300x169.jpg\" alt=\"wordpress_how_to_add_an_image_to_widget_3\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-49596\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_3-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_3-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_3.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>You will see <strong>Edit Media<\/strong> page. The image URL is located on the right side of the screen. You need to copy this URL and paste it in any text editor (like Notepad):<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_4.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_4-300x169.jpg\" alt=\"wordpress_how_to_add_an_image_to_widget_4\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-49597\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_4-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_4-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_4.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Now, navigate to <strong>Appearance -> Widgets<\/strong> tab and drag-and-drop a <strong>Text widget<\/strong> from list of available widgets on the left to the widget area where you want to display the image on the right:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_5.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_5-300x169.jpg\" alt=\"wordpress_how_to_add_an_image_to_widget_5\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-49598\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_5-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_5-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_5.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>In the text box area of the widget, you need to add your image using HTML code:<\/p>\r\n<pre class=\"brush:html\">&lt;img src=\"Paste The File URL Here\" alt=\"Image Title\"\/&gt;<\/pre>\r\n<p>where in attribute <strong>src<\/strong> you need to define the file path to your image. Paste the URL of your image in &#8221; &#8221; (it will look like this):<\/p>\r\n<pre class=\"brush:html\">&lt;img src=\"http:\/\/www.example.com\/wp-content\/uploads\/2015\/05\/image_1.jpg\" alt=\"Image_1\" \/&gt;<\/pre>\r\n<p>in attribute <strong>alt<\/strong> you need to define an alternate text for the image. It will be displayed if the image is missing:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_5.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_5-300x169.jpg\" alt=\"wordpress_how_to_add_an_image_to_widget_5\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-49598\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_5-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_5-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_5.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Click on <strong>Save<\/strong> button and refresh your website to see the image. You will see that the image was successfully added to the widget:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_6.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_6-300x169.jpg\" alt=\"wordpress_how_to_add_an_image_to_widget_6\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-49599\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_6-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_6-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/wordpress_how_to_add_an_image_to_widget_6.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<\/ol>\r\n<p>Now you know how to add an image to widget in WordPress.<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=JKCnG16rHFE?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to add an image to widget<\/a><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to add an image to widget in WordPress.<\/p>\n","protected":false},"author":80,"featured_media":49602,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[537,559,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/49593"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/80"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=49593"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/49593\/revisions"}],"predecessor-version":[{"id":83153,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/49593\/revisions\/83153"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/49602"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=49593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=49593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=49593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}