Generally, you can go to “Media > Library” section in WordPress admin panel and upload images in unattached status. If you want an image to attach to a post, then you can use the Image block in Gutenberg editor to upload images while editing your content. Did you ever wonder, how to get the uploaded image’s URL when you are in admin dashboard? Here are different methods to copy image URL in WordPress dashboard.
Copying Image URL
This article focuses on copying image URL within WordPress admin dashboard and not on a webpage that you are reading in browser. Here are some of the reasons you want to get the image address when editing content:
- Image block supports inserting an image from URL. So, you can use the copied image address with Image block.
- Alternatively, you can simply paste the image URL and press enter to embed the source image on supported sites.
- You may want to share the image after uploading in admin dashboard.
Follow one of the following methods depending on whether you have uploaded the image in Gutenberg editor or Media Library.
1. Right-Click and Get URL
As with any image on the published site, you can simply right-click on an image inside Gutenberg editor and select “Copy Image Address” menu to get the URL.
2. Use Image Block Replace Option
Second option is to click the uploaded image and then click on “Replace” option in block’s toolbar. This will show the “Current media URL” link and click on the pencil icon to edit the link.
Now, you can easily select and copy the media file’s URL and use anywhere you want.
3. Copy to Clipboard from Gutenberg Editor
Next option is to use the Media Library within Gutenberg editor.
- Click on the uploaded image and select “Replace” option.
- Click “Open Media Library” to open your image files.
- Scroll down on the right-side details section and find the image address in “File URL” box.
- Click “Copy URL to clipboard” button to get the image URL.
You can select any of the previously uploaded image and copy its source URL. You can this and other two methods explained below in old Classic Editor also.
4. Using List View in Media Library
Next option is to use the default Media Library menu from WordPress admin dashboard. This is the perfect option for copying multiple image URLs without opening Gutenberg editor.
- Go to “Media > Library” menu to view all previously uploaded images.
- Make sure to use the list view to see the image along with their details.
- Hover on an image to reveal additional menu items.
- Click “Copy URL” link to get the image address to your clipboard.
5. Copy URL While Editing an Image
If you are comfortable using grid view in Media Library, then you can’t copy URL as explained above. However, you can get individual image URL from the image editor screen.
- Go to “Media > Library” section and make sure you are in grid view.
- Click on an image to open the editor.
- On the right-sidebar under “Save” panel, you can see the image URL in “File URL” box.
- Click on the “Copy URL to clipboard” button to get the image address.
Note: You can keep multiple image URLs in your clipboard and retrieve whenever needed. By default, Windows computers support keeping multiple copied items in clipboard. This is not the case with Mac and you may need to use third-party clipboard manager apps for that purpose.