forked from leftypol/leftypol
Change styling of fileinfo, add iqdb search
This commit is contained in:
parent
a87dc24169
commit
46c07d3566
4 changed files with 34 additions and 26 deletions
|
@ -21,7 +21,7 @@
|
|||
{% else %}
|
||||
>{{ file.file }}
|
||||
{% endif %}
|
||||
</a> <span class="unimportant">
|
||||
</a><br><span class="unimportant"><em>
|
||||
(
|
||||
{% if file.thumb == 'spoiler' %}
|
||||
{% trans %}Spoiler Image{% endtrans %},
|
||||
|
@ -33,9 +33,9 @@
|
|||
, {{ ratio(file.width, file.height) }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% include "post/image_identification.html" %}
|
||||
)
|
||||
</span> {% include "post/file_controls.html" %}</p>
|
||||
{% include "post/image_identification.html" %}
|
||||
</em></span> {% include "post/file_controls.html" %}</p>
|
||||
{% include "post/image.html" with {'post':file} %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
{% 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 }}{{ file.file }}">io</a>
|
||||
<a href="http://imgops.com/{{ config.domain }}{{ config.uri_img }}{{ file.file }}">ImgOps</a>
|
||||
{% endif %}
|
||||
{% 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>
|
||||
<a href="http://regex.info/exif.cgi?url={{ config.domain }}{{ config.uri_img }}{{ file.file }}">Exif</a>
|
||||
{% endif %}
|
||||
{% if config.image_identification_google %}
|
||||
<a href="http://www.google.com/searchbyimage?image_url={{ config.domain }}{{ config.uri_img }}{{ file.file }}">g</a>
|
||||
<a href="https://www.google.com/searchbyimage?image_url={{ config.domain }}{{ config.uri_img }}{{ file.file }}">Google</a>
|
||||
{% endif %}
|
||||
{% if config.image_identification_iqdb %}
|
||||
<a href="http://iqdb.org/?url={{ config.domain }}{{ config.uri_img }}{{ file.file }}">iqdb</a>
|
||||
{% endif %}
|
||||
</span>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue