Hi,
we use our own Image model and we recently updated our code to work with 3.0.2 from 2.2.4. After upgrading we noticed that we could not access the details of files. The cause is fix: Prevent server errors in image detail view if images do not exist. Specifically templates/admin/filer/tools/detail_info.html, in line 6 the templatetag {% file_icon original detail=True %} causes an issue. The "offending" code is in filer/templatetags/filer_admin_tags.py:
Hi, we use our own Image model and we recently updated our code to work with 3.0.2 from 2.2.4. After upgrading we noticed that we could not access the details of files. The cause is fix: Prevent server errors in image detail view if images do not exist. Specifically
templates/admin/filer/tools/detail_info.html
, in line 6 the templatetag{% file_icon original detail=True %}
causes an issue. The "offending" code is infiler/templatetags/filer_admin_tags.py
:'File' object has no attribute 'width'
. After downgrading to 3.0.1 the issue goes away. Regards