WordPress.org

Support

Support » Plugins and Hacks » Hacks » Get available image sizes using attachment id

Get available image sizes using attachment id

  • I have been trying to write a function that adds links to available image sizes below each inserted image in a post.

    I know there is a function get_intermediate_image_sizes but it works only within a Loop for attachment pages.

    I need a function that allows me to fetch available image sizes using image id as argument. Can anyone suggest a way out?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get available image sizes using attachment id’ is closed to new replies.