diff options
| author | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-01-17 19:28:11 +0100 |
|---|---|---|
| committer | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-01-17 19:28:11 +0100 |
| commit | 2c15546518c31e73fa443df129f75c7fad5d9c00 (patch) | |
| tree | cddbaa035014b22cd46df57107fdc41a840c1b50 | |
| parent | 4238812a5190834da06bbcd148e6d551713c1a01 (diff) | |
Tiny forgots
| -rw-r--r-- | searx/engines/google_images.py | 1 | ||||
| -rw-r--r-- | searx/templates/oscar/result_templates/images.html | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/searx/engines/google_images.py b/searx/engines/google_images.py index c08279660..cc62a4fd2 100644 --- a/searx/engines/google_images.py +++ b/searx/engines/google_images.py @@ -43,7 +43,6 @@ def response(resp): # parse results for result in search_res['responseData']['results']: - print result href = result['originalContextUrl'] title = result['title'] if not result['url']: diff --git a/searx/templates/oscar/result_templates/images.html b/searx/templates/oscar/result_templates/images.html index 7051bb737..554f3bb6c 100644 --- a/searx/templates/oscar/result_templates/images.html +++ b/searx/templates/oscar/result_templates/images.html @@ -12,7 +12,7 @@ <h4 class="modal-title">{% if result.engine~".png" in favicons %}{{ draw_favicon(result.engine) }} {% endif %}{{ result.title|striptags }}</h4>
</div>
<div class="modal-body">
- <img class="img-responsive center-block" src="{{ result.thumbnail_src }}" alt="{{ result.title|striptags }}">
+ <img class="img-responsive center-block" src="{{ image_proxify(result.thumbnail_src) }}" alt="{{ result.title|striptags }}">
{% if result.content %}<p class="result-content">{{ result.content|safe }}</p>{% endif %}
</div>
<div class="modal-footer">
|