grappelli admin show image <p>I have a new project on django, in which im using Grappelli and filebrowser, and I have extended the User to have a UserProfile related to it, my question is, how can I modify my code to be able to show on the UserProfile information of a user the profile picture uploaded, and also show it on the Users list?</p> <p>This is my code now, I dont see any image on the admin!</p> <p>Admin.py</p> <pre><code>from django.contrib import admin from django.contrib.auth.admin import UserAdmin from django.contrib.auth.models import User from models import UserProfile class UserProfileInline(admin.StackedInline): model = UserProfile verbose_name_plural = 'User Profile' list_display = ('city', 'tel', 'description', 'image_thumbnail',) class MyUserAdmin(UserAdmin): list_display = ('username','email','first_name','last_name','date_joined', 'last_login','is_staff', 'is_active',) inlines = [ UserProfileInline ] admin.site.unregister(User) admin.site.register(User, MyUserAdmin) </code></pre> <p>Models.py</p> <pre><code>from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from django.utils.translation import ugettext_lazy as _ from apps.common.utils.abstract_models import BaseModel from apps.common.utils.model_utils import unique_slugify from filebrowser.base import FileObject from django.conf import settings class UserProfile(BaseModel): user = models.OneToOneField(User, related_name="profile") city = models.CharField(_("City"), max_length=200) tel = models.CharField(_("Phone Number"), max_length=50, help_text=_("(Area Code) (Your phone number)")) description = models.TextField(null=True, blank=True, help_text = _("Small description about yourself.")) photo = models.ImageField(max_length=255, upload_to="profiles/", null=True, blank=True, default="img/default_profile_image.png") def image_thumbnail(self): if self.photo: return u'&lt;img src="%s" width="80" height="80" /&gt;' % self.photo.version(ADMIN_THUMBNAIL).url return u'&lt;img src="/site_media/%s" width="80" height="80" /&gt;' % settings.DEFAULT_PROFILE_IMAGE image_thumbnail.allow_tags = True def __unicode__(self): if self.user.first_name or self.user.last_name: return "%s %s" % (self.user.first_name, self.user.last_name) else: return self.user.username </code></pre>