forked from leftypol/leftypol
Implement image identification buttons using regex.info/exif, google images and tineye
This commit is contained in:
parent
b7d884ef45
commit
7c8bbe8527
3 changed files with 29 additions and 0 deletions
|
@ -28,6 +28,16 @@
|
|||
<span class="postfilename">{{ post.filename|bidi_cleanup }}</span>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if post.thumb != 'file' and config.image_identification %}
|
||||
,
|
||||
<span class='image_id'>
|
||||
{% if 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>
|
||||
<a href="http://www.tineye.com/search?url={{ config.domain }}{{ config.uri_img }}{{ post.file }}">t</a>
|
||||
</span>
|
||||
{% endif %}
|
||||
)
|
||||
</span></p>
|
||||
<a href="{{ config.uri_img }}{{ post.file }}" target="_blank"{% if post.thumb == 'file' %} class="file"{% endif %}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue