# How are image links generated?

**URL:** <https://meta.discourse.org/t/how-are-image-links-generated/118019>\
**Category:** Product Support\
**Created:** [May 17, 2019, 12:01pm UTC](https://meta.discourse.org/t/how-are-image-links-generated/118019 "2019-05-17T12:01:35Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![TheBestPessimist](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thebestpessimist/32/247704_2.png) [@TheBestPessimist](https://meta.discourse.org/u/TheBestPessimist)\
**Post date:** [May 17, 2019, 12:01pm UTC](https://meta.discourse.org/t/how-are-image-links-generated/118019/1 "2019-05-17T12:01:35Z")

</div>

Here’s a **large** image:

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/3/a37df25f15fccd47dc543f3d5751d81cb61dbe6b.jpeg)

Its original link is: [https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/meta/original/3X/a/3/a37df25f15fccd47dc543f3d5751d81cb61dbe6b.jpeg](https://global.discourse-cdn.com/meta/original/3X/a/3/a37df25f15fccd47dc543f3d5751d81cb61dbe6b.jpeg)  
Which is different from `![image|690x459](upload://nkjFnpawJaOanmycDbIXVG4jlkn.jpeg) `

It will however, also have multiple _optimized_ (for size and dimensions) versions.  
Here’s one i got: [https://global.discourse-cdn.com/meta/optimized/3X/a/3/a37df25f15fccd47dc543f3d5751d81cb61dbe6b\_2\_690x459.jpeg](https://global.discourse-cdn.com/meta/optimized/3X/a/3/a37df25f15fccd47dc543f3d5751d81cb61dbe6b_2_690x459.jpeg).

My questions are:

- can i link somehow to the image via the “upload link”: `![image|690x459](upload://nkjFnpawJaOanmycDbIXVG4jlkn.jpeg) ` (eg: `https://meta.discourse.org/uploads/nkjFnpawJaOanmycDbIXVG4jlkn.jpeg`) =\> i would expect that discourse will redirect me to the correct url afterwards.
- how can i know what other links/versions of my image are created?  
eg. :
  - `https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/meta/original/3X/a/3/a37df25f15fccd47dc543f3d5751d81cb61dbe6b.jpeg`
  - or maybe `https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/meta/original/>>>2<<<X/a/3/a37df25f15fccd47dc543f3d5751d81cb61dbe6b.jpeg` (this one doesnt exist)
  - other versions for retina, mobile, idk?

---

_[View the full topic](https://meta.discourse.org/t/how-are-image-links-generated/118019)._
