

def render(self, name, value, attrs=None):
    r = super(AdminFileWithPreviewWidget, image).render(name, value, attrs=attrs)
    if (value and getattr(value, 'instance', None)):
        image = admin_thumbnail(value.instance)
        if image:
            r = mark_safe((('<img src="%s" alt="" style="float: left; padding-right:8px; border-right: 1px solid #ccc; margin-right: 8px">' % image) + r))
    return r

dataset/ETHPy150Open feincms/feincms/feincms/module/medialibrary/fields.py AdminFileWithPreviewWidget.render/VarMisuse@24/29 `self`->`image`