<feed xmlns='http://www.w3.org/2005/Atom'>
<title>searxng/.git/searx/templates/simple/result_templates/images.html, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/'/>
<entry>
<title>[web-client] simple theme: refactor jinja_svg_catalog and cleanup icon names</title>
<updated>2025-02-28T11:27:41+00:00</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2025-02-04T14:59:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=189dd0155df60c98b5d7de73b873c8ad444ff931'/>
<id>189dd0155df60c98b5d7de73b873c8ad444ff931</id>
<content type='text'>
This patch implements the template generation of the template:

  searx/templates/simple/icons.html

by the way the icon set (the icon names) has been normalized:

  film-outline   --&gt; film
  magnet-outline --&gt; magnet
  ..
  warning        --&gt; alert

Some missing (categorie) icons had been added.

Some of the ionicons are not suitable for a dark theme, we fixed the svg
manually in src/svg/ionicons:

- https://github.com/searxng/searxng/pull/4284#issuecomment-2680550342

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch implements the template generation of the template:

  searx/templates/simple/icons.html

by the way the icon set (the icon names) has been normalized:

  film-outline   --&gt; film
  magnet-outline --&gt; magnet
  ..
  warning        --&gt; alert

Some missing (categorie) icons had been added.

Some of the ionicons are not suitable for a dark theme, we fixed the svg
manually in src/svg/ionicons:

- https://github.com/searxng/searxng/pull/4284#issuecomment-2680550342

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[mod] add swipe events to the image gallery (gesture control)</title>
<updated>2025-01-20T12:52:43+00:00</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2025-01-16T16:10:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=601ffcb8a32a6e2f252cebffa6a7e6f024c8e943'/>
<id>601ffcb8a32a6e2f252cebffa6a7e6f024c8e943</id>
<content type='text'>
Adds [1] to the searxng.min.js and horizontal swipe events to the image gallery.

[1] https://www.npmjs.com/package/swiped-events

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds [1] to the searxng.min.js and horizontal swipe events to the image gallery.

[1] https://www.npmjs.com/package/swiped-events

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[feat] images: show resolution inside the image and fix image details overflow</title>
<updated>2024-02-25T15:22:37+00:00</updated>
<author>
<name>Bnyro</name>
<email>bnyro@tutanota.com</email>
</author>
<published>2024-02-21T18:05:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=db1f9b31c9063c983560d2e5c24aad61a4ef87c8'/>
<id>db1f9b31c9063c983560d2e5c24aad61a4ef87c8</id>
<content type='text'>
Co-authored-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] images: add resolution, image format and filesize fields</title>
<updated>2024-02-25T15:22:37+00:00</updated>
<author>
<name>Bnyro</name>
<email>bnyro@tutanota.com</email>
</author>
<published>2024-02-20T09:51:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=e76ab1a4b3a99b0ec2ef90c3aadc92ffbf6889b1'/>
<id>e76ab1a4b3a99b0ec2ef90c3aadc92ffbf6889b1</id>
<content type='text'>
Co-authored-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Template images.html: lazy by JS the full size image</title>
<updated>2022-05-18T07:29:31+00:00</updated>
<author>
<name>Alexandre FLAMENT</name>
<email>alexandre.flament@hesge.ch</email>
</author>
<published>2022-05-18T07:27:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=0063427309b6fc0b202d7b63a01e8930bf5aab44'/>
<id>0063427309b6fc0b202d7b63a01e8930bf5aab44</id>
<content type='text'>
Remove lazy loading by browser / width / height:
JS is required to display this HTML fragment anyway.

Simplify the HTML template.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove lazy loading by browser / width / height:
JS is required to display this HTML fragment anyway.

Simplify the HTML template.
</pre>
</div>
</content>
</entry>
<entry>
<title>[simple theme] add netloc to image result articles</title>
<updated>2022-04-06T13:07:05+00:00</updated>
<author>
<name>mrpaulblack</name>
<email>paul@paulgo.io</email>
</author>
<published>2022-04-06T13:07:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=169f8d998889d4f970edc3912481ee5d205a293c'/>
<id>169f8d998889d4f970edc3912481ee5d205a293c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] lazy loading of &lt;img&gt; tags</title>
<updated>2021-12-15T09:39:55+00:00</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2021-12-01T17:05:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=c4164649496d3b1b3ffa8b6b01b750903a0edffd'/>
<id>c4164649496d3b1b3ffa8b6b01b750903a0edffd</id>
<content type='text'>
Images should include dimension attributes.  Without `width` and `height`
specified, image dimensions are 0×0 pixels at first.  ...  In this case the
browser determines that all of them are visible to the user and decides to load
everything [1].

In CSS the `width` is set to a value and the `height` is unsed to scale the image
proportional in both dimensions.

[1] https://web.dev/browser-level-image-lazy-loading/#images-should-include-dimension-attributes
[2] https://caniuse.com/loading-lazy-attr

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Images should include dimension attributes.  Without `width` and `height`
specified, image dimensions are 0×0 pixels at first.  ...  In this case the
browser determines that all of them are visible to the user and decides to load
everything [1].

In CSS the `width` is set to a value and the `height` is unsed to scale the image
proportional in both dimensions.

[1] https://web.dev/browser-level-image-lazy-loading/#images-should-include-dimension-attributes
[2] https://caniuse.com/loading-lazy-attr

Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] simple theme: img tile, shows duplicate information on screen</title>
<updated>2021-11-29T19:47:37+00:00</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2021-11-27T12:46:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=c7bb6945d193a250e0469dd05370cf6f2f18b946'/>
<id>c7bb6945d193a250e0469dd05370cf6f2f18b946</id>
<content type='text'>
Remove global title attribute from img tag[1][2] .  In the image result, the
title is already shown from span class title::

    &lt;span class="title"&gt;{{ result.title|striptags }}&lt;/span&gt;

See commit: 8fbffb1409b

    [fix] simple-theme templates: polish HTML &lt;img&gt; elements

[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
[2] https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-title

Reported-by: @dalf https://github.com/searxng/searxng/pull/545#issuecomment-980531215
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove global title attribute from img tag[1][2] .  In the image result, the
title is already shown from span class title::

    &lt;span class="title"&gt;{{ result.title|striptags }}&lt;/span&gt;

See commit: 8fbffb1409b

    [fix] simple-theme templates: polish HTML &lt;img&gt; elements

[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
[2] https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-title

Reported-by: @dalf https://github.com/searxng/searxng/pull/545#issuecomment-980531215
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[fix] simple-theme templates: polish HTML &lt;img&gt; elements</title>
<updated>2021-11-25T11:07:57+00:00</updated>
<author>
<name>Markus Heiser</name>
<email>markus.heiser@darmarit.de</email>
</author>
<published>2021-11-25T11:04:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=8fbffb1409b91a76fb4228456442b661e43caa72'/>
<id>8fbffb1409b91a76fb4228456442b661e43caa72</id>
<content type='text'>
- &lt;img&gt; [1] element does not have an end tag, no need for a leading `/&gt;`
- add global attribute title[2] to result_templates/images.html (result-images-source)
- in jinja macro 'macro result_header' remove duplicate of class="image"
- in jinja macro 'macro result_header' remove alt attribute (fix [3])::

    alt="{{ result.title|striptags }}"

  the result.title is already shown in::

    &lt;h3&gt;{{ result_link(result.url, result.title|safe) }}&lt;/h3&gt;

[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
[2] https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-title
[3] https://github.com/searxng/searxng/issues/523

Closes: https://github.com/searxng/searxng/issues/523
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- &lt;img&gt; [1] element does not have an end tag, no need for a leading `/&gt;`
- add global attribute title[2] to result_templates/images.html (result-images-source)
- in jinja macro 'macro result_header' remove duplicate of class="image"
- in jinja macro 'macro result_header' remove alt attribute (fix [3])::

    alt="{{ result.title|striptags }}"

  the result.title is already shown in::

    &lt;h3&gt;{{ result_link(result.url, result.title|safe) }}&lt;/h3&gt;

[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
[2] https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-title
[3] https://github.com/searxng/searxng/issues/523

Closes: https://github.com/searxng/searxng/issues/523
Signed-off-by: Markus Heiser &lt;markus.heiser@darmarit.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[simple theme] update to ion icons 5 and drop webfont</title>
<updated>2021-11-13T09:42:07+00:00</updated>
<author>
<name>MrPaulBlack</name>
<email>paul@paulgo.io</email>
</author>
<published>2021-11-13T09:42:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.slickd.xyz/searxng/.git/commit/?id=566dfe33307e33e4cb54dc6eae17fb373a09684e'/>
<id>566dfe33307e33e4cb54dc6eae17fb373a09684e</id>
<content type='text'>
* update from ionicons-npm to ionicons ver.5
* drop the webfont built by grunt for icons
* built icons.html template for inlining icons with jinja2 into html
* update icon to use mostly the outline version
* add icons to categories and do not display them on mobile to save space
* remove all legacy ion icon font files from simple theme
* icons.html is added in this commit since make statc.build.restore requires git to know the file already
* cleanup error-dialog
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* update from ionicons-npm to ionicons ver.5
* drop the webfont built by grunt for icons
* built icons.html template for inlining icons with jinja2 into html
* update icon to use mostly the outline version
* add icons to categories and do not display them on mobile to save space
* remove all legacy ion icon font files from simple theme
* icons.html is added in this commit since make statc.build.restore requires git to know the file already
* cleanup error-dialog
</pre>
</div>
</content>
</entry>
</feed>
