Closed (fixed)
Project:
Storage API
Version:
7.x-1.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Jan 2013 at 23:00 UTC
Updated:
19 Nov 2016 at 18:51 UTC
Jump to comment: Most recent
Comments
Comment #1
jdjeet commentedThough I am not much into this module, I found same thing happen while I was checking the use case for my site.
You might have activate 'Access control' while creating a container, that won't generated a base url for the files in that container causing the files to be downloaded rather displaying in a new window.
Try changing that, I might be wrong.
Comment #2
netentropy commentedThere is an .htaccess file created that forces the images to download. I think this would be better as an option.
Comment #3
brentaar commentedThis behave is due to the metadata being set to "image/jpeg; charset=binary", which looks to be by design.
Comment #4
m.stentaI came across this issue, and have some more information to share.
It is actually the "Content-Disposition: attachment" header that causes the issue... not the "charset=binary" part.
A patch has gone into Storage API 7.x-1.x that provides an alter hook that other modules can use to remove the "Content-Disposition" header if they want. More info here: #1933774: No need to force Content-Disposition header.
Comment #5
m.stenta