# Uploading file type .jpeg creates rendering issue in v0.6.0

**URL:** <https://forum.mattermost.com/t/uploading-file-type-jpeg-creates-rendering-issue-in-v0-6-0/111>\
**Category:** Troubleshooting\
**Created:** [August 11, 2015, 6:50pm UTC](https://forum.mattermost.com/t/uploading-file-type-jpeg-creates-rendering-issue-in-v0-6-0/111 "2015-08-11T18:50:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hamsal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/hamsal/32/31_2.png) [@hamsal](https://forum.mattermost.com/u/hamsal)\
**Post date:** [August 11, 2015, 6:50pm UTC](https://forum.mattermost.com/t/uploading-file-type-jpeg-creates-rendering-issue-in-v0-6-0/111/1 "2015-08-11T18:50:19Z")

</div>

When we attach images with the paperclip we get a white box with no image in it. Also when we post image links there is no preview generated, only a link shows.

I have setup an S3 bucket in the config and I also just tried using the local file system from the config with the same results.

---

<div class="post-metadata">

**Author:** ![it33](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/it33/32/3_2.png) [@it33](https://forum.mattermost.com/u/it33)\
**Post date:** [August 12, 2015, 10:47pm UTC](https://forum.mattermost.com/t/uploading-file-type-jpeg-creates-rendering-issue-in-v0-6-0/111/2 "2015-08-12T22:47:45Z")

</div>

Hi @hamsal, hmm… haven’t seen that before. Anything in the browser console?

---

<div class="post-metadata">

**Author:** ![cifvts](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/cifvts/32/20_2.png) [@cifvts](https://forum.mattermost.com/u/cifvts)\
**Post date:** [August 13, 2015, 2:54pm UTC](https://forum.mattermost.com/t/uploading-file-type-jpeg-creates-rendering-issue-in-v0-6-0/111/3 "2015-08-13T14:54:05Z")

</div>

I’ve tried to upload an image and this is what I got:  
 ![](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex020/uploads/mattermost/original/1X/37cde919e6cd187d344fed6387076f02f6e6595c.png)  
I can download the image and I can see the image alone using the public link but it’s not displayed in the conversation

---

<div class="post-metadata">

**Author:** ![crspeller](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/crspeller/32/2605_2.png) [@crspeller](https://forum.mattermost.com/u/crspeller)\
**Post date:** [August 13, 2015, 3:25pm UTC](https://forum.mattermost.com/t/uploading-file-type-jpeg-creates-rendering-issue-in-v0-6-0/111/4 "2015-08-13T15:25:45Z")

</div>

Hi cifvts,

If this only happens with .jpeg images then this should be fixed by this PR: [https://github.com/mattermost/platform/pull/368](https://github.com/mattermost/platform/pull/368)

Could you try another image type such as png?

Thanks for reporting the issue!

Christopher

---

<div class="post-metadata">

**Author:** ![cifvts](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/cifvts/32/20_2.png) [@cifvts](https://forum.mattermost.com/u/cifvts)\
**Post date:** [August 13, 2015, 3:44pm UTC](https://forum.mattermost.com/t/uploading-file-type-jpeg-creates-rendering-issue-in-v0-6-0/111/5 "2015-08-13T15:44:52Z")

</div>

@crspeller it works with the same file renamed .jpg 😀
