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.

DACrosby 2 years 2020-12-27T09:10:26-05:00 0 Answers 4 views 0

Leave an answer