Skip to content

Commit

Permalink
merged stuff from integration branch
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanfoulis committed Nov 19, 2009
2 parents 480935d + fc1180d commit 137bd52
Show file tree
Hide file tree
Showing 11 changed files with 623 additions and 34 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ src/*.egg-info
.DS_Store .DS_Store
.project .project
.pydevproject .pydevproject
.settings
3 changes: 2 additions & 1 deletion image_filer/cms_plugins.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def render(self, context, instance, placeholder):
}) })
return context return context
def icon_src(self, instance): def icon_src(self, instance):
return instance.image.file.extra_thumbnails['admin_tiny_icon'] return instance.image.thumbnails['admin_tiny_icon']
plugin_pool.register_plugin(ImagePlugin) plugin_pool.register_plugin(ImagePlugin)


class ImageFilerTeaserPlugin(CMSPluginBase): class ImageFilerTeaserPlugin(CMSPluginBase):
Expand Down Expand Up @@ -83,3 +83,4 @@ class Meta:
proxy = True proxy = True
render_template = "image_filer/slideshow2.html" render_template = "image_filer/slideshow2.html"
plugin_pool.register_plugin(FolderSlideshowPlugin) plugin_pool.register_plugin(FolderSlideshowPlugin)

Loading

0 comments on commit 137bd52

Please sign in to comment.