djangosnippets.org: Latest snippets tagged with 'imagewidget'http://djangosnippets.org/tags/imagewidget/2009-06-19T08:43:34.801294-05:00ImageField for admin with thumbnail
2009-06-19T08:43:34.801294-05:00sementehttp://djangosnippets.org/snippets/1580/<p>AdminImageWidget is a ImageField Widget for admin that shows a thumbnail.</p>
<p>Usage example on a form:</p>
<pre><code>class IconForm(forms.ModelForm):
icon = forms.ImageField(label='icon', widget=AdminImageWidget)
</code></pre>
Freely redistributable