On Fri, Oct 31, 2008 at 4:06 AM, please smile <[EMAIL PROTECTED]> wrote:
> Hi All,
>
>   I have uploaded some images in a folder and also saved  the image name
> into  data base table.
> Now I need to fetch and display all the images to my client side web page .
> How can I do this .Please help.
> Thanks

If you use an ImageField to store the images then you can easily show them with
the url() method of each image object in your templates.

Look at http://docs.djangoproject.com/en/dev/ref/models/fields/#imagefield and
http://docs.djangoproject.com/en/dev/topics/files/#using-files-in-models
for more info.

Regards.

-- 
Marcelo Ramos

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to