Attachments - JPG downloading instead of showing in browser

3266
0
07-14-2015 08:44 AM
Drew
by
Occasional Contributor III

Hello,

When viewing my .jpg attachments online all browsers are prompted to download the file instead of opening in a new window.

Is this the default behavior and is there a way I can modify this (by default as I want this to work in Portal for ArcGIS) ?

I have attachments enabled on my feature class and every attachment is a .jpg file.

The content-type in the _ATTACH table is "image/jpeg".

Looking at fiddler the Content-Type sent back from the server is  "application/octet-stream" (see photo below)

I would expect the content type to be the type defined in the _ATTACH table.

Thanks,

Drew

Content Type From Fiddler

content-type.png

0 Kudos
0 Replies