diff options
author | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-01-17 19:21:09 +0100 |
---|---|---|
committer | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-01-17 19:21:09 +0100 |
commit | cb4a3fe598707fc42f86ea3f7bcf517dcd4db660 (patch) | |
tree | f5ee1ea08f2b491c58806e236664c23389b8ff21 /searx/templates/courgette/result_templates/images.html | |
parent | edd9d311809d8f6eab5109f9cd899e7989bb42d5 (diff) | |
download | searxng-cb4a3fe598707fc42f86ea3f7bcf517dcd4db660.tar.gz searxng-cb4a3fe598707fc42f86ea3f7bcf517dcd4db660.zip |
Add thumbnails in images results
- Modify engines to create/fetch an URL for the thumbnails
- Modify themes to show thumbnails instead of full images.
In Courgette, the result is not very beautiful. Should we change it ?
Diffstat (limited to 'searx/templates/courgette/result_templates/images.html')
-rw-r--r-- | searx/templates/courgette/result_templates/images.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/courgette/result_templates/images.html b/searx/templates/courgette/result_templates/images.html index bf2a686ac..6a4d7ae83 100644 --- a/searx/templates/courgette/result_templates/images.html +++ b/searx/templates/courgette/result_templates/images.html @@ -1,6 +1,6 @@ <div class="image_result"> <p> - <a href="{{ result.img_src }}"><img src="{{ image_proxify(result.img_src) }}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}"/></a> + <a href="{{ result.img_src }}"><img src="{{ image_proxify(result.thumbnail_src) }}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}"/></a> <span class="url"><a href="{{ result.url }}" class="small_font">{{ _('original context') }}</a></span> </p> </div> |