Add image format and source information to display (#1567)

Add image format and source information to display - needs changes to engines to actually display something. 

Displays result.source (website from which the image was taken) and result.img_format (image type and size).

Result is styled with result-format and result-source classes. See PR #1566 for an example of an engine which has the necessary changes.

Strip <span class="highlight">...</span> in the oscar image template.
This commit is contained in:
Frank de Lange 2019-08-06 09:31:24 +02:00 committed by Alexandre Flament
parent 88261e111c
commit e4e8e6da4c
18 changed files with 47 additions and 26 deletions

View file

@ -1,4 +1,4 @@
/*! searx | 14-08-2018 | https://github.com/asciimoo/searx */
/*! searx | 28-05-2019 | https://github.com/asciimoo/searx */
/*
* searx, A privacy-respecting, hackable metasearch engine
*

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
/*! searx | 14-08-2018 | https://github.com/asciimoo/searx */
/*! searx | 28-05-2019 | https://github.com/asciimoo/searx */
/*
* searx, A privacy-respecting, hackable metasearch engine
*

File diff suppressed because one or more lines are too long