diff options
| author | Jano Slota <jano@alokal.eu> | 2014-05-15 17:05:13 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-05-16 10:47:10 +0200 |
| commit | ecbf1ff24c023f2f051aa9fe94af28a06f31ce59 (patch) | |
| tree | b7f0d0d043b7aa6f0848c0c1a5de0c1453284f8b /templates | |
| parent | c67f4ba8975b282df2796b5b6a2dd19e62b56c74 (diff) | |
Fixed image identification
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/post/image_identification.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/post/image_identification.html b/templates/post/image_identification.html index a6e4e48d..4f3f593a 100644 --- a/templates/post/image_identification.html +++ b/templates/post/image_identification.html @@ -1,14 +1,14 @@ -{% if post.thumb != 'file' and config.image_identification %} +{% if file.thumb != 'file' and config.image_identification %} , <span class='image_id'> {% if config.image_identification_imgops %} - <a href="http://imgops.com/{{ config.domain }}{{ config.uri_img }}{{ post.file }}">io</a> + <a href="http://imgops.com/{{ config.domain }}{{ config.uri_img }}{{ file.file }}">io</a> {% endif %} - {% if config.image_identification_exif and post.file|extension == 'jpg' %} - <a href="http://regex.info/exif.cgi?url={{ config.domain }}{{ config.uri_img }}{{ post.file }}">e</a> + {% if config.image_identification_exif and file.file|extension == 'jpg' %} + <a href="http://regex.info/exif.cgi?url={{ config.domain }}{{ config.uri_img }}{{ file.file }}">e</a> {% endif %} {% if config.image_identification_google %} - <a href="http://www.google.com/searchbyimage?image_url={{ config.domain }}{{ config.uri_img }}{{ post.file }}">g</a> + <a href="http://www.google.com/searchbyimage?image_url={{ config.domain }}{{ config.uri_img }}{{ file.file }}">g</a> {% endif %} </span> {% endif %} |
