• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Tips and Tricks HQ

  • Home
  • Projects
    • All Projects
    • Simple WP Shopping Cart
    • WP Express Checkout Plugin
    • Accept Stripe Payments
    • WP Download Monitor
    • Easy HTTPS Redirection
    • WP Security and Firewall Plugin
    • WP eStore Plugin
    • WP Affiliate Platform
    • WP eMember
  • Products
    • All Products
    • Checkout
  • Support
    • Support Portal
    • Customer Only Forum
    • WP eStore Documentation
    • WP Affiliate Software Documentation
    • WP eMember Documentation
  • Contact

How to Get the Image URL from the WordPress Media Library

Home » Blog » How to Get the Image URL from the WordPress Media Library

Last updated: September 25, 2017 by Keith Lock





Many tools, widgets, themes, and plugins for WordPress often ask for an image URL during the configuration steps. Follow along to see how to get the Image URL so you can use it in the configuration.

In this tutorial, you will learn:

  • How to upload an image to the WordPress Media Library.
  • How to get the image URL for the uploaded image.
  • How to get the image URL for any image that was previously uploaded.
  • How to get the image URLs for the thumbnail versions of the uploaded image.

Resources discussed in the video:

  • Display All Image Sizes Plugin

First, let’s upload an image to the WordPress Media Library, and get the image URL for the Full Size image.



  1. From within your WordPress Dashboard, go to Media, then Add New.
  2. Click the Select Files button.
  3. Locate the image on your computer, and double click it.
  4. Once the image is finished uploading, click on the Edit link.
  5. The Image URL is in the File URL box on the right side of the screen. Highlight it and copy it to the clipboard. An easy way to highlight it is to triple-click it.

In a similar way as described in the previous steps, you can get the URL for an image that was previously uploaded. There are a couple slight differences though, so let’s cover those steps now.

To get the Image URL for an image already in the Media Library:

  1. From within your WordPress Dashboard, go to Media, then Library.
  2. Locate the image you want the URL for. You can perform a search if need be.
  3. Click on the Title of the image, or on the Edit link for the image.
  4. Copy the File URL to the clipboard.

In the previous steps, you were getting the URL for the Full Sized image. WordPress, your theme, and sometimes an activated plugin, will create other images with different dimensions (or widths and heights).

Sometimes the tool you are placing the Image URL in will automatically utilize the appropriate image in an intelligent way, by responding to the screen size and orientation it is being viewed in.

Other times however, you may want to explicitly get the URL of a very specific thumbnail version of the image, rather than use the Full Size.

There is a plugin in the WordPress Plugin Repository, called “Display All Image Sizes” that exposes the URLs for all versions of your uploaded images.

Let’s go through the steps to install this plugin, and find the varying Image URLs.

  1. From within your WordPress Dashboard, go to Plugins, then Add New.
  2. Do a search for: Display All Image Sizes.
  3. Click Install, then Activate.
  4. Now, head back to the Media Library by going to Media, then Library.
  5. Select an image.
  6. Scroll down below the image details to the Sizes section.
  7. From here, select a size from the dropdown box.
  8. Copy the Image URL to the clipboard.

Related Posts

  • Adding Images to Your WordPress Blog or Website
  • How To Create an Attractive Subscribe & Follow Box For Your WordPress Blog
  • How to Use Menus in WordPress
  • Add a Status Text Next to Your WordPress Post Title

Blogging Tips,  Wordpress Blog Setup,  image compression,  media file in wordpress,  WordPress tutorial,  WordPress Tweaks

Reader Interactions

Comments

  1. Collins Agbonghama says:
    September 27, 2017 at 9:15 am

    This is by far the most beginner guide on how to get WordPress uploaded image URL.

Leave a Reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Featured & Popular Articles

Video Answers to Top WordPress QuestionsWordPress Optimization Tips and Tricks for Better Performance and SpeedEssential WordPress Security Tips - Is Your Blog Protected?WordPress Simple PayPal Shopping Cart PluginTop 15 Search Engine Optimization (SEO) Techniques I Forget to DoList of the Best and Must Use WordPress PluginsHow do I Start a Blog and Make Money Online?Good Domain Name Picking Tips for Your Blog SetupFind Out Which WordPress Web Hosting Company Offers the Cheapest and Reliable Web Hosting Solution

Featured WordPress Plugins

WP Express Checkout Plugin
wordpress estore plugin
wordpress membership plugin
wordpress affiliate plugin

Recent Posts

  • How to Use Browser Developer Tools to Inspect Elements and [...]
  • Accept Donations via PayPal from Your WordPress Site Easil [...]
  • Buy Now Button Graphics for eCommerce Websites [...]
  • Subscription Button Graphics for eCommerce Websites [...]
  • Adding PayPal Payment Buttons to Your WordPress Sidebar Ea [...]

Comment & Socialize

  • @Rob, We have just released ...
    - admin
  • I installed the plugin a co ...
    - Rob
  • @Sebastian, We've released ...
    - admin
  • I've used this plugin on a ...
    - Sebastian Djupsjöbacka
  • @John, this plugin doesn't ...
    - admin

Check out our solutions

View our WordPress plugin collection and start using them on your site.

Our WordPress Solutions

Footer

Company

  • About
  • Privacy Policy
  • Terms and Conditions
  • Affiliate Login

Top WordPress Plugins

  • Simple Shopping Cart
  • PayPal Donations
  • WP Express Checkout
  • WP eStore
  • WP eMember

Blogging Tips

  • How to Start a Blog
  • Selecting a Good Domain
  • Cheap WP Hosting
  • WP Video Tutorials
  • Simple SEO Tips

Search


Keep In Touch

Copyright © 2025 | Tips and Tricks HQ