summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJano Slota <jano@alokal.eu>2014-08-03 23:30:21 +0200
committerczaks <marcin@6irc.net>2014-08-08 21:59:06 +0200
commit31f0c1f1e359ebe01412f0dda109584307ae35d5 (patch)
tree3794687fa51d1372924c9c57ad831f17fae1d7bb
parentc6e1afcf650e55d1f64867440fcd623d386f922f (diff)
Open image identification links in new tabs
-rw-r--r--stylesheets/style.css3
-rw-r--r--templates/post/image_identification.html8
2 files changed, 4 insertions, 7 deletions
diff --git a/stylesheets/style.css b/stylesheets/style.css
index 37a46858..4d6ee5ab 100644
--- a/stylesheets/style.css
+++ b/stylesheets/style.css
@@ -119,9 +119,6 @@ form table tr td div label {
.file:not(.multifile) {
float: none;
}
-.multifile {
- padding-right: 20px;
-}
p.fileinfo {
display: block;
margin: 0 0 0 20px;
diff --git a/templates/post/image_identification.html b/templates/post/image_identification.html
index 1ebc01a7..fa2f30b3 100644
--- a/templates/post/image_identification.html
+++ b/templates/post/image_identification.html
@@ -2,16 +2,16 @@
<span class='image_id'>
{% if config.image_identification_imgops %}
- <a href="http://imgops.com/{{ config.domain }}{{ config.uri_img }}{{ file.file }}">ImgOps</a>
+ <a href="http://imgops.com/{{ config.domain }}{{ config.uri_img }}{{ file.file }}" target="_blank">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 }}">Exif</a>
+ <a href="http://regex.info/exif.cgi?url={{ config.domain }}{{ config.uri_img }}{{ file.file }}" target="_blank">Exif</a>
{% endif %}
{% if config.image_identification_google %}
- <a href="https://www.google.com/searchbyimage?image_url={{ config.domain }}{{ config.uri_img }}{{ file.file }}">Google</a>
+ <a href="https://www.google.com/searchbyimage?image_url={{ config.domain }}{{ config.uri_img }}{{ file.file }}" target="_blank">Google</a>
{% endif %}
{% if config.image_identification_iqdb %}
- <a href="http://iqdb.org/?url={{ config.domain }}{{ config.uri_img }}{{ file.file }}">iqdb</a>
+ <a href="http://iqdb.org/?url={{ config.domain }}{{ config.uri_img }}{{ file.file }}" target="_blank">iqdb</a>
{% endif %}
</span>
{% endif %}