Permalink
Browse files

Fixed #119. Right way to get thumbnail of image

  • Loading branch information...
1 parent 67a9f69 commit 57004f23a4366acad73b2e01c1e834fa3fcd1c20 @h4 h4 committed May 12, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmsplugin_filer_image/cms_plugins.py
@@ -88,7 +88,7 @@ def _get_thumbnail_options(self, context, instance):
def get_thumbnail(self, context, instance):
if instance.image:
- return instance.image.image.file.get_thumbnail(self._get_thumbnail_options(context, instance))
+ return instance.image.file.get_thumbnail(self._get_thumbnail_options(context, instance))
def render(self, context, instance, placeholder):
options = self._get_thumbnail_options(context, instance)

0 comments on commit 57004f2

Please sign in to comment.