>From a quick glance it appears that the file source you've included in the
html is not specifying a file extension.

Try:
<img 
src="/home/mehmet/internet_projeleri/site4ust/unnamed/60830071673353216.jpg"
/>
...instead of...
<img src="/home/mehmet/internet_projeleri/site4ust/unnamed/60830071673353216"
/>


On Fri, Apr 5, 2013 at 1:43 PM, Fatih Tiryakioglu <[email protected]>wrote:

> Thank you.
>
> The shortcut of the picture:
> /home/mehmet/internet_projeleri/site4ust/unnamed/60830071673353216.jpg
>
> In the template I have written the line below to render a jpg file.
>
> <img
> src="/home/mehmet/internet_projeleri/site4ust/unnamed/60830071673353216" />
>
> And in the settings:
>
> MEDIA_ROOT = '/home/mehmet/internet_projeleri/site4ust/unnamed'
> MEDIA_URL = '/unnamed/'
> STATIC_ROOT = ''
> STATIC_URL = '/static/'
>
> What is wrong..
>
>
> --
>
>
>
> 5 Nisan 2013 Cuma 20:26:40 UTC+3 tarihinde Navid Shaikh yazdı:
>
>>
>>
>> On Friday, April 5, 2013 11:16:00 AM UTC+5:30, Fatih Tiryakioglu wrote:
>>>
>>> Hi all,
>>>
>>> I want to render back "user uploaded images" via template. I pass the
>>> shortcuts to the template, but template can't show it: only small image
>>> symbol. How can i show it up. I tryed some 'MEDIA_ROOT', 'MEDIA_URL'
>>> settings, and read some info, but i couldn't figure out..
>>>
>>>
>> Might be the there is problem with the path of image.
>> Can you post the some code, how are you rendering images?
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Jonathan D. Baker
Developer
http://jonathandbaker.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to