Imgur direct link vs gallery link
Last updated: 7 October 2026
This is the single most common reason an image "does not show up" after someone uploads it. They pasted a perfectly working URL — it just was not the kind of URL the place they pasted it into needed.
Two kinds of Imgur URL
| What it looks like | What it points at | Paste it into an image field? |
|---|---|---|
i.imgur.com/AbCd123.png |
The image file itself | Yes — this is the direct link |
imgur.com/AbCd123 |
A viewer page containing the image | No — you get a link, not a picture |
imgur.com/a/AbCd123 |
An album page | No — it is a set, not one image |
imgur.com/gallery/AbCd123 |
A gallery post with comments and votes | No |
The rule of thumb
Look at the hostname and the ending:
- It starts with
i.— that is the image subdomain, and you have a direct link. - It ends in a file extension such as
.png,.jpgor.gif— also a direct link. - It has a path like
/a/or/gallery/— it is a page, not a file.
Both conditions together are the reliable signal. The extension alone is not enough, because a gallery URL with an odd slug can still look convincing.
How to test one in five seconds
Paste the URL into a browser address bar and press enter:
- You get just the image, filling the window on a blank background, with no header, no vote buttons and no comments — that is a direct link.
- You get a page with Imgur's logo, a title and social buttons — that is a viewer page, and it will not embed.
Another quick check: right-click the image and look at the menu. If you can copy the image address and it differs from what is in your address bar, you were on a viewer page.
Why this matters more than it sounds
The places you paste image URLs usually do not tell you which kind they want. Markdown treats a link and an image differently, BBCode image tags need a file URL, and some forum software silently converts whatever you give it into a broken thumbnail. Knowing the difference turns a five-minute guessing game into a two-second check.
Which one to use where
| Destination | Use | Format |
|---|---|---|
| Forum "insert image" dialog | Direct link | The bare URL |
| Forum post body (BBCode) | Direct link | [img]URL[/img] |
| Markdown (GitHub, docs) | Direct link |  |
| HTML page | Direct link | <img src="URL" alt="..."> |
| A chat message where you want the page | Viewer page | The bare URL |
| Sharing a whole set with a friend | Album page | The bare URL |
Getting both formats without thinking about it
Every imgur upload on this site returns a direct link, a plain one-per-line list, ready
to paste BBCode and an HTML <img> tag, each with its own copy button. You do not have to
construct the markup by hand or remember which URL form goes where.
One caveat worth stating plainly: the links you get here live on ImgBB, so they look like
i.ibb.co/XXXX/name.png rather than i.imgur.com. The structure is identical and
the rules above apply to them in exactly the same way — i. subdomain, file extension,
direct link. See imgur alternative for why.
Related guides
- Using imgur for Reddit — where this goes wrong most often
- Imgur size and format limits
- Downloading imgur images and albums