On Thu, Jan 6, 2011 at 6:06 PM, James Hancock <[email protected]> wrote: > I am very new to Django, and so I spend a lot of time in the documentation. > The other day I found something that I wished would have some more > clarification in retrospect, so I thought I would post it here. > > > My goal was to have the admin resize an image for me on upload to a standard > size. > > While reading the docs for an Image Fields I saw the "height_field=None, > width_field=None" and thought, "oh, if I set this, then It will resize it > for me." You'll probably all laugh at this point, but that is what I > thought, and yes it is very wrong. After asking on the rc I was pointed to > some third party thumbnail apps I could use. to get the functionality I was > looking for. > > To save other new people with the same thought process you could put > something like, "You can't manually set the image size from the model field. > To manipulate the image size on upload or in a template view use a third > party thumbnail application." > > The thing that would have saved me is basically, " 'Thumbnail apps' is the > terminology you are looking for". I would then merrily google my way around > trying to find one, rather than looking in the documentation. > > > I wouldn't suggest specifically naming apps, effectivly endorsing them > unless there is a clear choice on one that is always used and well > maintained. I am to new with Django to determine that.
Sounds like a reasonable suggestion. The best way to make sure this suggestion isn't forgotten is to open a ticket in Trac with the details you've provided here. If you want to be really helpful, try writing a draft of the update you'd like to see. The docs directory in a source checkout of Django contains all the raw text; update that text, generate a diff, and upload the diff to the ticket. If you need any help on how to do this, don't be afraid to ask, either here or in IRC. Yours, Russ Magee %-) -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
