# Upload an image without embedding it

**URL:** <https://meta.discourse.org/t/upload-an-image-without-embedding-it/103733>\
**Category:** Product Support\
**Created:** [07.Декабрь.2018 21:51:39 UTC](https://meta.discourse.org/t/upload-an-image-without-embedding-it/103733 "2018-12-07T21:51:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [07.Декабрь.2018 22:09:23 UTC](https://meta.discourse.org/t/upload-an-image-without-embedding-it/103733/2 "2018-12-07T22:09:23Z")

</div>

Sure - just change the markdown generated by the upload as per below:

* * *

Original is:

```md
![worksonmymachine|200x193,50%](upload://wD4QT0WxzqkxFMKMI8QRQoRCcWC.png)

```

resuliting in:

 ![worksonmymachine](https://global.discourse-cdn.com/meta/original/3X/e/4/e4b06ce98ded89163747305342cf0074d4260202.png)

* * *

Option 1 is:

```md
[worksonmymachine.png](upload://wD4QT0WxzqkxFMKMI8QRQoRCcWC.png)

```

[worksonmymachine.png](https://meta.discourse.org/uploads/short-url/wD4QT0WxzqkxFMKMI8QRQoRCcWC.png)

EDIT: oops - that one doesn’t actually work… need to specify the full path:

```md
[worksonmymachine.png](//cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/meta/original/3X/e/4/e4b06ce98ded89163747305342cf0074d4260202.png)

```

[worksonmymachine.png](https://global.discourse-cdn.com/meta/original/3X/e/4/e4b06ce98ded89163747305342cf0074d4260202.png)

* * *

Option 2 makes it look like a usual “attachment” upload:

```html
<a class="attachment" href="//cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/meta/original/3X/e/4/e4b06ce98ded89163747305342cf0074d4260202.png">womm.png</a> (31443 Bytes)

```

resulting in:  
[womm.png](https://global.discourse-cdn.com/meta/original/3X/e/4/e4b06ce98ded89163747305342cf0074d4260202.png) (31443 Bytes)

A left-click will still view the image. I don’t believe you can force a user to download the file; that’s controlled by the `Content-Disposition` header sent by the server.

---

_[View the full topic](https://meta.discourse.org/t/upload-an-image-without-embedding-it/103733)._
