It seems bit confusing for me.

When I create image field for example

question = models.CharField(max_length=200)
    pub_date = models.DateTimeField('date published')

    #an image to displayed here
   logo = models.ImageField(upload_to="images/logos/", blank=True,
help_text="Should be 50px wide")
   It gives me error and asks me to install PIL library which I did install
using python setup.py install command from directory

Can somebody provide simple solution for this?
Ill repeat my question my again, I want to have a field in backend for
image. So I will upload image from backend and it will show up in frontend.

Thank you,


On Fri, Jun 5, 2009 at 4:33 PM, Dhruv Adhia <druf...@gmail.com> wrote:

> Yep Ill try and see if it works.
>
> Thank you!
>
>
> On Fri, Jun 5, 2009 at 3:32 PM, Antoni Aloy <antoni.a...@gmail.com> wrote:
>
>>
>> 2009/6/5 Dhruv Adhia <druf...@gmail.com>:
>> >
>> > I am new to django and was searching for thorough tutorial for image
>> > upload.
>> >
>> > What I want to do is add image upload field in backend and after
>> > uploading image from admin section it shows in frontend
>> >
>> like this
>> http://code.google.com/p/appfusedjango/source/browse/#svn/trunk/thumbs_prj
>> ?
>>
>>
>> --
>> Antoni Aloy López
>> Blog: http://trespams.com
>> Site: http://apsl.net
>>
>> >>
>>
>
>
> --
> Dhruv Adhia
> http://thirdimension.com
>
>


-- 
Dhruv Adhia
http://thirdimension.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to