On 28, 18:05, Jarek Zgoda <[EMAIL PROTECTED]> wrote:
> Is there any similar trick or should I modify admin
> template for change form?
Yes, you have to edit admin page template to do that
--~--~-~--~~~---~--~~
You received this message because you are subscrib
Brilliant, thankyou.
Tom
On Tue, 2007-08-28 at 13:51 +, daev wrote:
> Try this:
>
> image = models.ImageField()
>
> def image_thumbnail(self):
> return "" %
> self.get_image_url()
> image_thumbnail.allow_tags = True
>
> class Admin:
> list_display = ( "image_thumbnail", )
>
>
>
On 28 Sie, 15:51, daev <[EMAIL PROTECTED]> wrote:
> Try this:
>
> image = models.ImageField()
>
> def image_thumbnail(self):
> return "" %
> self.get_image_url()
> image_thumbnail.allow_tags = True
>
> class Admin:
> list_display = ( "image_thumbnail", )
That works fine on objects list pa
Try this:
image = models.ImageField()
def image_thumbnail(self):
return "" %
self.get_image_url()
image_thumbnail.allow_tags = True
class Admin:
list_display = ( "image_thumbnail", )
--~--~-~--~~~---~--~~
You received this message because you are subscr
Oh great suggestion, that file browser actually looks very useful for
other purposes as well, i was trying to think of good way of providing
'static' page editing with images etc. and that looks to be a great help
there.
Thanks
Tom
On Tue, 2007-08-28 at 06:43 -0700, patrickk wrote:
> One way is
One way is using the FileBrowser:
http://trac.dedhost-sil-076.sil.at/trac/filebrowser/wiki
But I guess there are other possibilities (just search this forum ...)
Patrick
On 28 Aug., 15:35, Thomas Badran <[EMAIL PROTECTED]> wrote:
> Is it possible to have thumbnails for images in the admin pages
Is it possible to have thumbnails for images in the admin pages in 0.96
(ive read something that suggests this might be possible in svn)?
I keep finding wonderful new tricks like the side by side javascript
stuff for many to many fields etc. but cant seem to find a sensible way
of doing this.
7 matches
Mail list logo