From 139e975bfb390e58edd860dbe590ebebd2877075 Mon Sep 17 00:00:00 2001 From: haruhianon609 <81483582+haruhianon609@users.noreply.github.com> Date: Mon, 29 Aug 2022 14:37:40 +0000 Subject: [PATCH] Add yandex images as image identification option (#430) * Add yandex images as image identification option * Update image_identification.html * Fix indentation Co-authored-by: Fred Brennan --- inc/config.php | 1 + templates/post/image_identification.html | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/inc/config.php b/inc/config.php index 9f9e2557..da2358cd 100644 --- a/inc/config.php +++ b/inc/config.php @@ -922,6 +922,7 @@ $config['image_identification_imgops'] = true; $config['image_identification_exif'] = true; $config['image_identification_google'] = true; + $config['image_identification_yandex'] = true; // Anime/manga search engine. $config['image_identification_iqdb'] = false; diff --git a/templates/post/image_identification.html b/templates/post/image_identification.html index 3d06bd00..d0609873 100644 --- a/templates/post/image_identification.html +++ b/templates/post/image_identification.html @@ -1,5 +1,4 @@ {% if file.thumb != 'file' and config.image_identification %} - {% if config.image_identification_imgops %} ImgOps @@ -13,5 +12,8 @@ {% if config.image_identification_iqdb %} iqdb {% endif %} + {% if config.image_identification_yandex %} + Yandex + {% endif %} {% endif %}