• I use Imgur oEmbeds to embed images in posts. But it doesn’t seem to support thumbnails.

    Imgur displays thumbnails by adding one of the following letters at the end of the imageID.

    s = Small Square (90×90) as seen in the example above
    b = Big Square (160×160)
    t = Small Thumbnail (160×160)
    m = Medium Thumbnail (320×320)
    l = Large Thumbnail (640×640) as seen in the example above
    h = Huge Thumbnail (1024×1024)

    So to get a thumbnail for https://imgur.com/ReKh5hV.png it looks like https://imgur.com/ReKh5hVm.png.

    The first link automatically converts to an image, the second one doesn’t.

    The plugin is coded like this: wp_oembed_add_provider(‘#https?://i.imgur.com.*#i’,’https://api.imgur.com/oembed?url=/’);

    Can I edit this somehow to accept the thumbnail version of images?

    Or alternatively use a different plugin that automatically displays thumbnails or a scaled down version of oembeds?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

    You will have to look for a different plugin.

    Thread Starter poopymonster

    (@poopymonster)

    Alright, thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Imgur oEmbeds, not oEmbedding thumnails.’ is closed to new replies.