(self)
Preview of the ``image``.

        For admin use mainly.

        :return string:
Preview of the ``image``.
Preview of the image .
def admin_image_preview(self):
        """Preview of the ``image``.

        For admin use mainly.

        :return string:
        """
        if self.image:
            return render_to_string(
                'news/_image_preview.html',
                {'alt': self.title, 'image_file': self.image}
            )
        else:
            return u''
def admin_image_preview ( self ) : if self . image : return render_to_string ( 'news/_image_preview.html' , { 'alt' : self . title , 'image_file' : self . image } ) else : return u''