Hold-on, doesn't using a<p><pre><code> Content-Disposition: attachment; filename=”image.jpg”
</code></pre>
header mean you can no longer display the image in your service? Won't browsers treat it as a file download? Most services that allow image uploads do so because the images will get displayed on a page? (that's what I do)<p>Most services seem to be moving file uploads to S3 (or similar services) these days, so I'm not sure this advice is really helpful. To take that a step further, my preference now is to upload <i>directly</i> to S3 and bypass my app server altogether. At least in Rails, it's fairly easy to setup.