diff options
Diffstat (limited to 'templates/images.tmpl')
-rw-r--r-- | templates/images.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/images.tmpl b/templates/images.tmpl index c284a1c..a54bef2 100644 --- a/templates/images.tmpl +++ b/templates/images.tmpl @@ -4,7 +4,7 @@ #def head <script type="text/javascript"> function thumb_onerror(img) { - var no_thumb = '${root}s/no-thumbnail.png'; + var no_thumb = '${settings.virtual_root}s/no-thumbnail.png'; if(img.src != no_thumb) img.src = no_thumb; } |