Displaying image in browser using Django development server and Apache
I would like to serve images using Django so that they display in the browser. Questions such as Having Django serve downloadable files suggest using Apache and X-SendFile. The configuration given there by elo80ka causes the image to be downloaded, rather than displayed in the browser, however, at least with Chrome. I would like to view the image in the browser while running both Django's development server and Apache. I've tried several other configuration values, such as "inline", with no success.
Edit: The images are specific to individual users and shouldn't be visible by everybody.
链接地址: http://www.djcxy.com/p/41290.html上一篇: 用光油将图像请求重写到CDN URL