How to get a URL for an image
Turn an image file into a shareable URL, and the difference between a page link and a direct link.
Published by AnonShot · Updated
The short answer
To turn an image into a URL, upload it to a host that returns a link. On AnonShot you get both a page link — the one you send to someone — and a direct link to the image file, useful for embedding on a forum or a site.
Page link or direct link
This is the distinction most people discover by getting it wrong, and it explains the majority of broken images on forums.
The page link opens a web page displaying the image, with its context and protections. The direct link points at the file itself: the browser shows the bare image, and an image tag can embed it elsewhere.
Which one to use
Picking the wrong one produces either an image that fails to display or a leak of context.
| Use | Link type | Why |
|---|---|---|
| Sending to a person | Page link | Keeps the password and burn-after-read |
| Embedding on a forum | Direct link | Image tags need a file, not a page |
| Illustrating an article | Direct link | Renders inline with no extra click |
| Sharing a sensitive document | Page link | Allows password protection |
What to check before pasting the URL
Two habits prevent unpleasant surprises. First, open the link in a private browsing window: you will see what the recipient sees, without your session.
Second, remember that an image posted on a forum becomes public and can be indexed. If it shows a face, a plate or a document, clean or crop it first.
Getting both links
Upload the image to AnonShot with no account. The share page gives you the URL to send, plus the direct link to the cleaned file for embedding. Metadata was stripped before either link was generated.
One useful detail about the format: the file served by the direct link is a re-encoded version of your image, cleared of its metadata. That is what lets you publish without carrying the capture location along, but it also means the file you get is not a byte-for-byte copy of your original.
Finally, keep a local copy of the image before publishing it anywhere. A hosting link, on any service, is not a backup: if the file expires or the service shuts down, only your original lets you republish.
Frequently asked questions
- What is the difference between the two links?
- The page link displays the image in a page with its protections. The direct link points at the bare file, which is what forum image tags need.
- Does the direct link work with a password?
- No. A direct link exists precisely to show the image with no intermediate step. For protected content, share the page link.
- How long does the URL stay valid?
- A share created without an account expires after 30 days. For a lasting forum link, plan to re-upload or use an account.