#NEWLINE# def icon_src( self , instance ) : #NEWLINE# #INDENT# if instance . image : #NEWLINE# #INDENT# if ( getattr ( settings , 'FILER_IMAGE_USE_ICON' , False ) and ( '32' in self . image . icons ) ) : #NEWLINE# #INDENT# return instance . image . icons [ '32' ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# thumbnail = self . get_thumbnail ( { #NEWLINE# #INDENT# 'width' : 200 , #NEWLINE# #UNINDENT# } , instance ) #NEWLINE# return thumbnail . url #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# return static ( ( 'filer/icons/missingfile_%sx%s.png' % ( 32 , 32 ) ) )