mirror of
https://github.com/searxng/searxng.git
synced 2025-07-23 13:19:17 +02:00
[refactor] images: add resolution, image format and filesize fields
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
b683aa63fb
commit
e76ab1a4b3
15 changed files with 91 additions and 33 deletions
|
@ -62,7 +62,7 @@ def response(resp):
|
|||
'title': title,
|
||||
'content': item["snippet"],
|
||||
'img_src': imageinfo["url"],
|
||||
'img_format': f'{imageinfo["width"]} x {imageinfo["height"]}',
|
||||
'resolution': f'{imageinfo["width"]} x {imageinfo["height"]}',
|
||||
'thumbnail_src': imageinfo["thumburl"],
|
||||
'template': 'images.html',
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue