# Las imágenes con el carácter \] en el nombre de archivo no se muestran correctamente

**URL:** <https://meta.discourse.org/t/images-with-character-in-filename-dont-display-properly/78240>\
**Category:** Bug\
**Created:** [17 Enero, 2018 02:22 UTC](https://meta.discourse.org/t/images-with-character-in-filename-dont-display-properly/78240 "2018-01-17T02:22:25Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [19 Enero, 2018 07:55 UTC](https://meta.discourse.org/t/images-with-character-in-filename-dont-display-properly/78240/20 "2018-01-19T07:55:00Z")

</div>

Not the filename, the insertion text:

`![31]|690x387](upload://nAo0GVB2DXSk484vgstfhPG1BQv.jpg)`  
` ----^`

Do you see the character I have marked above with the `^` caret? It is incorrect.

 ![http-error-404-not-found](https://global.discourse-cdn.com/meta/original/3X/8/8/88c88c21830fd8c1d3a5528d1c7e9f906549ff67.jpg)

In the above example the filename of the image I uploaded was ..

`http-error-404-not-found.jpg`

.. on disk which results in

`![http-error-404-not-found|499x499](upload://jw2BCroZfVX1dZChRVVvApQAjrh.jpg)`

Your image, on disk, must have `]` in the filename and this is causing problems:

`bad filename].jpg`

Perhaps this is a bug in Discourse, we should probably remove those bracket characters @vinothkannans as they are valid in filenames at least in Windows, and we are only using them for the alt text anyway.

---

_[View the full topic](https://meta.discourse.org/t/images-with-character-in-filename-dont-display-properly/78240)._
