На Fri, 6 Jan 2012 07:08:59 -0800 (PST) francescortiz <francescor...@gmail.com> написа:
> you can try https://github.com/francescortiz/image or you can try https://github.com/SmileyChris/easy-thumbnails > On 6 ene, 12:35, MeME <maciej.macias...@gmail.com> wrote: > > Hello, > > > > I'm new to Django. I started to write something for personal > > purposes. > > I have doubts about writing model for media files, especially > > images. In my app thumbnails should be automatically created when > > image is uploaded. Each such image can have thumnails with different > > dimensions. Images can be attached to posts. > > > > The question is how to store such information in database? > > > > Should it be separate records for each thumbnail and main image? And > > how to keep relationship? > > > > Or maybe I could store everything in one record as a serialized data > > (as in Wordpress)? Then I could as well store there HTML for image > > and metadata. > > > > -- > > Regards > > MM > -- 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.