Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #121 from h4/patch-1

Fixed #119. Right way to get thumbnail of image
  • Loading branch information...
commit 7590940f7e9bf1c0df7e565e0cc5bd35f11ed649 2 parents 011cf8e + 57004f2
@stefanfoulis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cmsplugin_filer_image/cms_plugins.py
View
2  cmsplugin_filer_image/cms_plugins.py
@@ -96,7 +96,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):
self.render_template = select_template((
Please sign in to comment.
Something went wrong with that request. Please try again.