Change Content-Disposition from attachment to inline
Currently images are served with
Content-Disposition set to
attachment which causes browsers to open download dialog instead of displaying the image. Switching it to
inline would fix that problem.
IMVHO if the client offers image preview and wants to allow user downloading the image then instead of using
Content-Disposition: attachment the client should offer option to download/save image.