You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/searx
Markus Heiser eff0884498 [simple] ImageLayout.watch: `img_load_error.svg` if img load fails
Show default image `img/img_load_error.svg` when image can't be loaded.

----
Some words about class ImageLayout:

The https://github.com/searxng/searxng/blob/master/searx/static/themes/simple/js/searxng.js is build by a grunt task ..

d0e21a01b4/searx/static/themes/simple/gruntfile.js (L91-L93)

The `/__common__/js/*.js` concats also https://github.com/searxng/searxng/blob/master/searx/static/themes/__common__/js/image_layout.js where a modified copy of the of the "Google-image-layout" (`ImageLayout`) is implemented [1][2][3].

[1] https://ptgamr.github.io/2014-09-12-google-image-layout/
[2] https://ptgamr.github.io/google-image-layout/src/google-image-layout.js
[3] https://github.com/ptgamr/google-image-layout/tree/master
----

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
..
answerers [fix] answers: don't crash when the query is an empty string 3 years ago
data Merge pull request #468 from searxng/update_data_update_ahmia_blacklist.py 3 years ago
engines [fix] google-videos engine: ignore news articles 3 years ago
metrics [fix] error recorder: avoid RuntimeError on some rare occasion 3 years ago
network [enh] verify that Tor proxy works every time searx starts 3 years ago
plugins [mod] searx.plugins.prepare_package_resources() - use generators 3 years ago
search [enh] verify that Tor proxy works every time searx starts 3 years ago
shared [fix] checker: don't run the checker when uwsgi is not properly configured 3 years ago
static [simple] ImageLayout.watch: `img_load_error.svg` if img load fails 2 years ago
templates [fix] simple theme: img tile, shows duplicate information on screen 2 years ago
translations [translations] update 3 years ago
__init__.py SearXNG: environment variables 3 years ago
autocomplete.py [fix] startpage autocompletion 3 years ago
exceptions.py [enh] add raise_for_httperror 3 years ago
external_bang.py [pylint] fix global-variable-not-assigned issues 3 years ago
external_urls.py [enh] openstreetmap / map template: improve results 3 years ago
flaskfix.py [pylint] searx: drop no longer needed 'missing-function-docstring' 3 years ago
languages.py [mod] update_languages: min_engines_per_country=7 3 years ago
locales.py [mod] locale: use hyphen everywhere except for Babel 3 years ago
preferences.py Merge pull request #485 from dalf/pref_query_in_title 3 years ago
query.py [enh] reduce the available language list 3 years ago
results.py [fix] searx.results: fix pylint issue "useless-with-lock" 3 years ago
settings.yml Merge pull request #485 from dalf/pref_query_in_title 3 years ago
settings_defaults.py Merge pull request #485 from dalf/pref_query_in_title 3 years ago
settings_loader.py SearXNG: load /etc/searxng/settings.yml 3 years ago
unixthreadname.py [pylint] searx: drop no longer needed 'missing-function-docstring' 3 years ago
utils.py [fix] fix match_language issue to make zh-TW match to zh-Hant-TW 3 years ago
version.py [pylint] searx: drop no longer needed 'missing-function-docstring' 3 years ago
webadapter.py [fix] typo in searx.webadapter.parse_lang 3 years ago
webapp.py [fix] route /autocompleter: escape `<` and `>` in the simple theme 2 years ago
webutils.py [mod] move all default settings into searx.settings_defaults 3 years ago