diff options
Diffstat (limited to 'templates/post')
| -rw-r--r-- | templates/post/image_identification.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/post/image_identification.html b/templates/post/image_identification.html index 3d3bd655..a6e4e48d 100644 --- a/templates/post/image_identification.html +++ b/templates/post/image_identification.html @@ -1,10 +1,14 @@ {% if post.thumb != 'file' and config.image_identification %} , <span class='image_id'> - <a href="http://imgops.com/{{ config.domain }}{{ config.uri_img }}{{ post.file }}">io</a> - {% if post.file|extension == 'jpg' %} + {% if config.image_identification_imgops %} + <a href="http://imgops.com/{{ config.domain }}{{ config.uri_img }}{{ post.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> {% endif %} - <a href="http://www.google.com/searchbyimage?image_url={{ config.domain }}{{ config.uri_img }}{{ post.file }}">g</a> + {% if config.image_identification_google %} + <a href="http://www.google.com/searchbyimage?image_url={{ config.domain }}{{ config.uri_img }}{{ post.file }}">g</a> + {% endif %} </span> {% endif %} |
