On Mon, Oct 22, 2012 at 6:00 AM, Dae James <
daed...@126.com> wrote:
> The returned html code by my app is : <img src="photos/image.jpg" />
> The "image.jpg" file is in "project_dir/photos/" directory. PS: project_dir
> is my django project's root directory.
>
> So why the image could not be loaded. Please help~
> Thank you~
>
Because your image is not in the directory that your html file shows.
Go to the django documentation and try to understand static files.
> ________________________________
> Dae James
--
Joel Goldstick