--- a/src/pyams_skin/configuration.py Tue Aug 25 09:46:21 2015 +0200
+++ b/src/pyams_skin/configuration.py Tue Sep 08 17:19:46 2015 +0200
@@ -27,7 +27,7 @@
# import packages
from persistent import Persistent
from pyams_file.property import FileProperty
-from pyams_file.views.file import ImageView
+from pyams_file.views.file import MediaFileView
from pyams_utils.adapter import ContextRequestViewAdapter, ContextAdapter, adapter_config
from pyams_utils.request import check_request
from pyams_utils.traversing import get_parent
@@ -140,5 +140,5 @@
if configuration.icon is not None:
request = request.copy()
request.context = configuration.icon
- return ImageView(request)
+ return MediaFileView(request)
return HTTPNotFound()