SmileyChris/easy-thumbnails — Issue #119: Attempted access to 'filesystem path' denied.
Author: artscoop
Created: 2012-02-24 12:24:35+00:00
State: open

Hi,
easy-thumbnails works quite flawlessly with the Imagefield method. For example, if I pass an ImageField as an argument to the {%thumbnail%} template tag, no problem.

However, something which worked without django.contrib.staticfiles does not work anymore :
If I pass a filepath in STATIC_ROOT as an argument to the template tag, it fails with the message
" Attempted access to denied."

The file exists and its directory has correct permissions.

```python
@render_to('app/project/panels/home-banner.html')
def homepage_banner(request):
path = "%(url)stheme/%(theme)s/img/intro.jpg" % {'url':settings.STATIC_ROOT, 'theme':settings.THEME}
return {'image':path}
```

The template :
```html

```

I'm pretty sure it worked when I did only use MEDIA_ROOT and MEDIA_URL.