1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-15 03:17:38 +01:00
vichan/templates/post/image_identification.html

18 lines
909 B
HTML
Raw Normal View History

2014-05-15 17:05:13 +02:00
{% if file.thumb != 'file' and config.image_identification %}
<span class='image_id'>
2014-05-06 19:15:59 +02:00
{% if config.image_identification_imgops %}
<a href="http://imgops.com/{{ config.domain }}{{ config.uri_img }}{{ file.file }}" target="_blank">ImgOps</a>
2014-05-06 19:15:59 +02:00
{% endif %}
2014-05-15 17:05:13 +02:00
{% 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 }}" target="_blank">Exif</a>
{% endif %}
2014-05-06 19:15:59 +02:00
{% if config.image_identification_google %}
<a href="https://www.google.com/searchbyimage?image_url={{ config.domain|url_encode }}{{ config.uri_img|url_encode }}{{ file.file|url_encode }}" target="_blank">Google</a>
{% endif %}
{% if config.image_identification_iqdb %}
<a href="http://iqdb.org/?url={{ config.domain }}{{ config.uri_img }}{{ file.file }}" target="_blank">iqdb</a>
2014-05-06 19:15:59 +02:00
{% endif %}
</span>
{% endif %}