Get image thumbnail size urls in media library
WordPress generates several thumbnail sizes and adding custom image sizes in a theme is great, but is there a way to view all URLs for a given image in WP, ideally right in the media library popup?
Currently if I want the “large” thumbnail URL of an image, I have to edit/add a Page/Post, add the image to the page, view the text editor and copy the URL out of the inserted
<img src="goal_url.jpg" />. Not very convenient!
For example, I’d use this to share a specific image crop on social media or to paste the correct URL in a theme/ plugin that doesn’t use the media library correctly.
WP gives the full url src in the media popup, I’m looking for the thumbnail sizes as well.
Leave an answer