Hi,
I used the filer for more than a week and it works fine. But now, I have two problems.
1)
Is it possible to find a file in filer with his number (e.g. 162, when the admin path is "/en/admin/filer/image/162/").
My problem is that I want to find the location (optimally the url for this file) by using the number.
The reason for this is that I want to provide images for download and they should not be opened directly in the browser but rather the save-dialog should
appear. Does anyone have a code snippet for this problem or another idea?
2)
The other problem with the filer is in combination with the "easy thumbnails".
When I try
thumb = get_thumbnailer('/media/filer_public/2013/06/11/399301_10151170147233531_2039543998_n_1.jpg')
I get the following error:
SuspiciousOperation at /en/admin/filer/image/162/getImage
Attempted access to '/media/filer_public/2013/06/11/399301_10151170147233531_2039543998_n_1.jpg' denied.
Info: The getImage method is in the views.py
InvalidImageFormatError at /en/admin/filer/image/162/getImage
The source file does not appear to be an image
Is the URL entered in the browser, the image is displayed.
But when I use the direct path (e.g. /var/www/mydjangoproject/....) it works perfect.
However, when I get the URL with "thumb.url", I get the path (which I had entered) instead the
Does anyone has a hint for me?
Thx,
Asakusa