{"id":5540,"date":"2019-12-31T11:11:40","date_gmt":"2019-12-31T05:41:40","guid":{"rendered":"http:\/\/holithemes.com\/blog\/?p=5540"},"modified":"2021-12-08T18:01:38","modified_gmt":"2021-12-08T12:31:38","slug":"how-to-upload-image-and-get-url-on-wordpress","status":"publish","type":"post","link":"https:\/\/holithemes.com\/blog\/how-to-upload-image-and-get-url-on-wordpress\/","title":{"rendered":"How to upload an image on a WordPress site and get it&#8217;s URL?"},"content":{"rendered":"\n<p>You might have seen a couple of friends adding their image URLs from WordPress. You too want to add some but wondering \u201chow\u201d! so, this article is just for you!! <\/p>\n\n\n\n<p>You may often need the URL of an image you publish on the WordPress site. It may happen when you need to add this URL on Twitter or Facebook. Or you can add your personal image as a WhatsApp icon on your website through a <a href=\"https:\/\/wordpress.org\/plugins\/click-to-chat-for-whatsapp\/\" rel=\"noopener\">WhatsApp plugin<\/a>.&nbsp; <\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>How to add a new image to your WordPress site\u2019s media? <\/strong><\/h4>\n\n\n\n<ol class=\"wp-block-list\"><li>Go to your WordPress site\u2019s dashboard! <br><\/li><li>Click on Media &#8211;&gt;  Add New .<\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"750\" height=\"571\" src=\"https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image.png\" alt=\"\" class=\"wp-image-6031\" srcset=\"https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image.png 750w, https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-300x228.png 300w\" sizes=\"(max-width: 750px) 100vw, 750px\" \/><figcaption><br><\/figcaption><\/figure><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"260\" src=\"https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-2-1024x260.png\" alt=\"\" class=\"wp-image-6033\" srcset=\"https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-2-1024x260.png 1024w, https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-2-300x76.png 300w, https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-2-768x195.png 768w, https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-2.png 1362w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You can either drag the files or click on Select Files to upload the media from your device. <\/p>\n\n\n\n<p><strong>3.<\/strong> After adding the media, it appears in the window like the below image.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"334\" src=\"https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-3-1024x334.png\" alt=\"\" class=\"wp-image-6034\" srcset=\"https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-3-1024x334.png 1024w, https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-3-300x98.png 300w, https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-3-768x251.png 768w, https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-3.png 1366w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>How to get the URL of an image on WordPress sites?<\/strong><\/h4>\n\n\n\n<p>1. Go to the Media &#8211;&gt;Library. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"927\" height=\"343\" src=\"https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-4.png\" alt=\"\" class=\"wp-image-6035\" srcset=\"https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-4.png 927w, https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-4-300x111.png 300w, https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-4-768x284.png 768w\" sizes=\"(max-width: 927px) 100vw, 927px\" \/><\/figure>\n\n\n\n<p>2. Click on the uploaded image. This click will lead you to the image\u2019s page in the WordPress media library.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"439\" src=\"https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-5-1024x439.png\" alt=\"\" class=\"wp-image-6036\" srcset=\"https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-5-1024x439.png 1024w, https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-5-300x129.png 300w, https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-5-768x329.png 768w, https:\/\/holithemes.com\/blog\/wp-content\/uploads\/2021\/12\/image-5.png 1284w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You will find a link adjacent to<strong> &#8216;File URL&#8217;<\/strong> and that is the URL of the image you need to share with others. <\/p>\n\n\n\n<p>3. To copy the image link to clipboard, click on <strong>Copy URL to Clipboard<\/strong>. Now, the link is saved to your device&#8217;s clipboard.<\/p>\n\n\n\n<p>Isn\u2019t that pretty easy? Now, go ahead and post your image as the WhatsApp icon on your website!! <\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"ast-oembed-container \" style=\"height: 100%;\"><iframe title=\"Adding Media in WordPress and getting the Media URL\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/LgmU02Bwwec?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>You might have seen a couple of friends adding their image URLs from WordPress. You too want to add some but wondering \u201chow\u201d! so, this article is just for you!! You may often need the URL of an image you publish on the WordPress site. It may happen when you need to add this URL [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[7],"tags":[213,217,218,219,186,38],"class_list":["post-5540","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-how","tag-image","tag-imageurl","tag-url","tag-wordpresswebsites","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/holithemes.com\/blog\/wp-json\/wp\/v2\/posts\/5540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/holithemes.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/holithemes.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/holithemes.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/holithemes.com\/blog\/wp-json\/wp\/v2\/comments?post=5540"}],"version-history":[{"count":0,"href":"https:\/\/holithemes.com\/blog\/wp-json\/wp\/v2\/posts\/5540\/revisions"}],"wp:attachment":[{"href":"https:\/\/holithemes.com\/blog\/wp-json\/wp\/v2\/media?parent=5540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/holithemes.com\/blog\/wp-json\/wp\/v2\/categories?post=5540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/holithemes.com\/blog\/wp-json\/wp\/v2\/tags?post=5540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}