1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-30 18:24:29 +01:00
vichan/templates/post/image_identification.html
2014-05-07 11:14:30 +02:00

15 lines
642 B
HTML

{% if post.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>
{% 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 %}
{% 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 %}