django-image-filer icon indicating copy to clipboard operation
django-image-filer copied to clipboard

Wrong context variables used in templates

Open mbrochh opened this issue 15 years ago • 0 comments

I just downloaded this application and tried to use it with django-cms

Somehow the images always were outputted as

In cms_plugins.py we have:

context.update({ 'picture':instance,

In the image.html template we use the variable 'image_publication' wich is obviously not there..

Also in cms_plugins.py SOME classes have render_template = "cms/plugins/xxx.html" which is not existant and some classes have render_template = "image_filer/xxx.html" which works...

Could it be that this extension is totally messed up?

mbrochh avatar Dec 12 '09 13:12 mbrochh