thegooglecodearchive / django-filebrowser

Automatically exported from code.google.com/p/django-filebrowser
Other
0 stars 0 forks source link

Thumbnails don't show up with filebrowser 3.3 and django 1.3 #357

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install filebrowser following v3.3 quick start guide, tests run ok.
2. Upload some images
3. Inspect results: no thumbnails

What is the expected output? What do you see instead?
- Expect to see thumnails, see placeholder instead

What revision of the FileBrowser are you using?
- Using filebrowser 3.3

What version/revision of Django are you using?
- Using django 1.3

Please provide any additional information below.

Also when using FileBrowseField in Admin, I get following error:
TemplateSyntaxError at /admin/filebrowser/browse/
Caught KeyError while rendering: u'Image'
Request Method:
GET
Request URL:
http://localhost:8000/admin/filebrowser/browse/?pop=1&type=Image
Django Version:
1.3
Exception Type:
TemplateSyntaxError
Exception Value:
Caught KeyError while rendering: u'Image' 
Exception Location:
C:\virtEnvBase\wentzel1\lib\site-packages\filebrowser\templatetags\fb_tags.py 
in render, line 121

That line 121 reads:
{% selectable fileobject.filetype query.type %}

Original issue reported on code.google.com by info.gea...@gmail.com on 4 Oct 2011 at 10:31