<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Galleria - Overview</title><link href="http://galleria.artliba.org/" rel="alternate"></link><link href="http://galleria.artliba.org/feeds/overview.atom.xml" rel="self"></link><id>http://galleria.artliba.org/</id><updated>2023-03-27T00:00:00+02:00</updated><subtitle>A responsive pelican gallery plugin</subtitle><entry><title>Overview</title><link href="http://galleria.artliba.org/1a-getting-started.html" rel="alternate"></link><published>2023-03-27T00:00:00+02:00</published><updated>2023-03-27T00:00:00+02:00</updated><author><name>Pirogh Hesse</name></author><id>tag:galleria.artliba.org,2023-03-27:/1a-getting-started.html</id><summary type="html">&lt;p&gt;&lt;a class="reference external" href="https://galleria.artliba.org"&gt;Galleria&lt;/a&gt; is a plugin for &lt;a class="reference external" href="https://getpelican.com"&gt;pelican&lt;/a&gt;,
a static site generator written in &lt;a class="reference external" href="https://www.python.org/"&gt;python&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Observe it first in action here: try to resize the window of our web
browser and observe the flexible rearrangement of the following images.&lt;/p&gt;
  &lt;ul class="galleria"
  &gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = images/tiryns.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/galleria/doc/content/images/tiryns.jpg --&gt;
&lt;!-- image_replace        = ./images/process/picture-tag/default/640w/tiryns.jpg --&gt;
&lt;!-- image_sizes          = None --&gt;
&lt;!-- image_srcset         = ./images/process/picture-tag/source-1/1x/tiryns.jpg 1x, ./images/process/picture-tag/source-1/2x/tiryns.jpg 2x --&gt;
&lt;!-- image_sources        = [{'srcset': './images/process/picture-tag/default/640w/tiryns.jpg 640w, ./images/process/picture-tag/default/1024w/tiryns.jpg 1024w, ./images/process/picture-tag/default/1600w/tiryns.jpg 1600w', 'media': '(min-width: 640px)', 'sizes': '100vw'}, {'srcset': './images/process/picture-tag/source-1/1x/tiryns.jpg 1x, ./images/process/picture-tag/source-1/2x/tiryns.jpg 2x'}] --&gt;
&lt;!-- image_caption        = Mycenaean Watercolor, from a fresco in &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Tiryns"&gt;Tiryns&lt;/a&gt; --&gt;
&lt;!-- image_target         = https://en.wikipedia.org/wiki/Tiryns --&gt;
&lt;!-- image_class          = picture-tag --&gt;
&lt;!-- image_type           = picture --&gt;
&lt;!-- max_height           = 350px --&gt;
&lt;!-- options              = {'class': 'picture-tag', 'max-height': '350px', 'type': 'picture'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="https://en.wikipedia.org/wiki/Tiryns"&gt;
      &lt;picture&gt;
          &lt;!-- source = {'srcset': './images/process/picture-tag/default/640w/tiryns.jpg 640w, ./images/process/picture-tag/default/1024w/tiryns.jpg 1024w, ./images/process/picture-tag/default/1600w/tiryns.jpg 1600w', 'media': '(min-width: 640px)', 'sizes': '100vw'} --&gt;
          &lt;source
              media="(min-width: 640px)"
              sizes="100vw"
              srcset="./images/process/picture-tag/default/640w/tiryns.jpg 640w, ./images/process/picture-tag/default/1024w/tiryns.jpg 1024w, ./images/process/picture-tag/default/1600w/tiryns.jpg 1600w"
          &gt;
          &lt;!-- source = {'srcset': './images/process/picture-tag/source-1/1x/tiryns.jpg 1x, ./images/process/picture-tag/source-1/2x/tiryns.jpg 2x'} --&gt;
          &lt;source
              srcset="./images/process/picture-tag/source-1/1x/tiryns.jpg 1x, ./images/process/picture-tag/source-1/2x/tiryns.jpg 2x"
          &gt;
        &lt;img
            src="./images/process/picture-tag/default/640w/tiryns.jpg"
            style="max-width: 100%; height: auto; max-height: min(100vh, 350px);cursor: pointer;"
        &gt;
      &lt;/picture&gt;
    &lt;/a&gt;
    &lt;figcaption&gt;
      Mycenaean Watercolor, from a fresco in &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Tiryns"&gt;Tiryns&lt;/a&gt;
    &lt;/figcaption&gt;
&lt;/figure&gt;      &lt;/li&gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = images/boxers.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/galleria/doc/content/images/boxers.jpg --&gt;
&lt;!-- image_replace        = ./images/process/picture-tag/default/640w/boxers.jpg --&gt;
&lt;!-- image_sizes          = None --&gt;
&lt;!-- image_srcset         = ./images/process/picture-tag/source-1/1x/boxers.jpg 1x, ./images/process/picture-tag/source-1/2x/boxers.jpg 2x --&gt;
&lt;!-- image_sources        = [{'srcset': './images/process/picture-tag/default/640w/boxers.jpg 640w, ./images/process/picture-tag/default/1024w/boxers.jpg 1024w, ./images/process/picture-tag/default/1600w/boxers.jpg 1600w', 'media': '(min-width: 640px)', 'sizes': '100vw'}, {'srcset': './images/process/picture-tag/source-1/1x/boxers.jpg 1x, ./images/process/picture-tag/source-1/2x/boxers.jpg 2x'}] --&gt;
&lt;!-- image_caption        = Watercolor, also a fresco from &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Akrotiri_(prehistoric_city)"&gt;Akrotiri&lt;/a&gt; --&gt;
&lt;!-- image_target         = https://en.wikipedia.org/wiki/Akrotiri_(prehistoric_city) --&gt;
&lt;!-- image_class          = picture-tag --&gt;
&lt;!-- image_type           = picture --&gt;
&lt;!-- max_height           = 350px --&gt;
&lt;!-- options              = {'class': 'picture-tag', 'max-height': '350px', 'type': 'picture'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="https://en.wikipedia.org/wiki/Akrotiri_(prehistoric_city)"&gt;
      &lt;picture&gt;
          &lt;!-- source = {'srcset': './images/process/picture-tag/default/640w/boxers.jpg 640w, ./images/process/picture-tag/default/1024w/boxers.jpg 1024w, ./images/process/picture-tag/default/1600w/boxers.jpg 1600w', 'media': '(min-width: 640px)', 'sizes': '100vw'} --&gt;
          &lt;source
              media="(min-width: 640px)"
              sizes="100vw"
              srcset="./images/process/picture-tag/default/640w/boxers.jpg 640w, ./images/process/picture-tag/default/1024w/boxers.jpg 1024w, ./images/process/picture-tag/default/1600w/boxers.jpg 1600w"
          &gt;
          &lt;!-- source = {'srcset': './images/process/picture-tag/source-1/1x/boxers.jpg 1x, ./images/process/picture-tag/source-1/2x/boxers.jpg 2x'} --&gt;
          &lt;source
              srcset="./images/process/picture-tag/source-1/1x/boxers.jpg 1x, ./images/process/picture-tag/source-1/2x/boxers.jpg 2x"
          &gt;
        &lt;img
            src="./images/process/picture-tag/default/640w/boxers.jpg"
            style="max-width: 100%; height: auto; max-height: min(100vh, 350px);cursor: pointer;"
        &gt;
      &lt;/picture&gt;
    &lt;/a&gt;
    &lt;figcaption&gt;
      Watercolor, also a fresco from &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Akrotiri_(prehistoric_city)"&gt;Akrotiri&lt;/a&gt;
    &lt;/figcaption&gt;
&lt;/figure&gt;      &lt;/li&gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = images/swallows.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/galleria/doc/content/images/swallows.jpg --&gt;
&lt;!-- image_replace        = ./images/process/picture-tag/default/640w/swallows.jpg --&gt;
&lt;!-- image_sizes          = None --&gt;
&lt;!-- image_srcset         = ./images/process/picture-tag/source-1/1x/swallows.jpg 1x, ./images/process/picture-tag/source-1/2x/swallows.jpg 2x --&gt;
&lt;!-- image_sources        = [{'srcset': './images/process/picture-tag/default/640w/swallows.jpg 640w, ./images/process/picture-tag/default/1024w/swallows.jpg 1024w, ./images/process/picture-tag/default/1600w/swallows.jpg 1600w', 'media': '(min-width: 640px)', 'sizes': '100vw'}, {'srcset': './images/process/picture-tag/source-1/1x/swallows.jpg 1x, ./images/process/picture-tag/source-1/2x/swallows.jpg 2x'}] --&gt;
&lt;!-- image_caption        = Watercolor, from a fresco from &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Akrotiri_(prehistoric_city)"&gt;Akrotiri&lt;/a&gt; --&gt;
&lt;!-- image_target         =  --&gt;
&lt;!-- image_class          = picture-tag --&gt;
&lt;!-- image_type           = picture --&gt;
&lt;!-- max_height           = 350px --&gt;
&lt;!-- options              = {'class': 'picture-tag', 'max-height': '350px', 'type': 'picture'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="./images/swallows.jpg"&gt;
      &lt;picture&gt;
          &lt;!-- source = {'srcset': './images/process/picture-tag/default/640w/swallows.jpg 640w, ./images/process/picture-tag/default/1024w/swallows.jpg 1024w, ./images/process/picture-tag/default/1600w/swallows.jpg 1600w', 'media': '(min-width: 640px)', 'sizes': '100vw'} --&gt;
          &lt;source
              media="(min-width: 640px)"
              sizes="100vw"
              srcset="./images/process/picture-tag/default/640w/swallows.jpg 640w, ./images/process/picture-tag/default/1024w/swallows.jpg 1024w, ./images/process/picture-tag/default/1600w/swallows.jpg 1600w"
          &gt;
          &lt;!-- source = {'srcset': './images/process/picture-tag/source-1/1x/swallows.jpg 1x, ./images/process/picture-tag/source-1/2x/swallows.jpg 2x'} --&gt;
          &lt;source
              srcset="./images/process/picture-tag/source-1/1x/swallows.jpg 1x, ./images/process/picture-tag/source-1/2x/swallows.jpg 2x"
          &gt;
        &lt;img
            src="./images/process/picture-tag/default/640w/swallows.jpg"
            style="max-width: 100%; height: auto; max-height: min(100vh, 350px);"
        &gt;
      &lt;/picture&gt;
    &lt;/a&gt;
    &lt;figcaption&gt;
      Watercolor, from a fresco from &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Akrotiri_(prehistoric_city)"&gt;Akrotiri&lt;/a&gt;
    &lt;/figcaption&gt;
&lt;/figure&gt;      &lt;/li&gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = images/caryatid.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/galleria/doc/content/images/caryatid.jpg --&gt;
&lt;!-- image_replace        = ./images/process/picture-tag/default/640w/caryatid.jpg --&gt;
&lt;!-- image_sizes          = None --&gt;
&lt;!-- image_srcset         = ./images/process/picture-tag/source-1/1x/caryatid.jpg 1x, ./images/process/picture-tag/source-1/2x/caryatid.jpg 2x --&gt;
&lt;!-- image_sources        = [{'srcset': './images/process/picture-tag/default/640w/caryatid.jpg 640w, ./images/process/picture-tag/default/1024w/caryatid.jpg 1024w, ./images/process/picture-tag/default/1600w/caryatid.jpg 1600w', 'media': '(min-width: 640px)', 'sizes': '100vw'}, {'srcset': './images/process/picture-tag/source-1/1x/caryatid.jpg 1x, ./images/process/picture-tag/source-1/2x/caryatid.jpg 2x'}] --&gt;
&lt;!-- image_caption        = Watercolor, the &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Caryatid"&gt;Caryatid&lt;/a&gt; porch at the &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Acropolis_of_Athens"&gt;Acropolis&lt;/a&gt; --&gt;
&lt;!-- image_target         = none --&gt;
&lt;!-- image_class          = picture-tag --&gt;
&lt;!-- image_type           = picture --&gt;
&lt;!-- max_height           = 350px --&gt;
&lt;!-- options              = {'class': 'picture-tag', 'max-height': '350px', 'type': 'picture'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
      &lt;picture&gt;
          &lt;!-- source = {'srcset': './images/process/picture-tag/default/640w/caryatid.jpg 640w, ./images/process/picture-tag/default/1024w/caryatid.jpg 1024w, ./images/process/picture-tag/default/1600w/caryatid.jpg 1600w', 'media': '(min-width: 640px)', 'sizes': '100vw'} --&gt;
          &lt;source
              media="(min-width: 640px)"
              sizes="100vw"
              srcset="./images/process/picture-tag/default/640w/caryatid.jpg 640w, ./images/process/picture-tag/default/1024w/caryatid.jpg 1024w, ./images/process/picture-tag/default/1600w/caryatid.jpg 1600w"
          &gt;
          &lt;!-- source = {'srcset': './images/process/picture-tag/source-1/1x/caryatid.jpg 1x, ./images/process/picture-tag/source-1/2x/caryatid.jpg 2x'} --&gt;
          &lt;source
              srcset="./images/process/picture-tag/source-1/1x/caryatid.jpg 1x, ./images/process/picture-tag/source-1/2x/caryatid.jpg 2x"
          &gt;
        &lt;img
            src="./images/process/picture-tag/default/640w/caryatid.jpg"
            style="max-width: 100%; height: auto; max-height: min(100vh, 350px);"
        &gt;
      &lt;/picture&gt;
    &lt;figcaption&gt;
      Watercolor, the &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Caryatid"&gt;Caryatid&lt;/a&gt; porch at the &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Acropolis_of_Athens"&gt;Acropolis&lt;/a&gt;
    &lt;/figcaption&gt;
&lt;/figure&gt;      &lt;/li&gt;
  &lt;/ul&gt;
&lt;p&gt;The &lt;a class="reference external" href="https://galleria.artliba.org"&gt;galleria&lt;/a&gt; plugin implements a &lt;a class="reference external" href="https://en.wikipedia.org/wiki/ReStructuredText"&gt;reStructuredText&lt;/a&gt;
directive for defining galleries in an intuitive way.
Observe some real-life application of this plugin: just have a look at
the &lt;a class="reference external" href="https://greuzecottave.artliba.org"&gt;Greuze-Cottave&lt;/a&gt; web site or the present author's &lt;a class="reference external" href="https://pirogh.artliba.org"&gt;Pirogh&lt;/a&gt; site.&lt;/p&gt;
&lt;p&gt;The …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;a class="reference external" href="https://galleria.artliba.org"&gt;Galleria&lt;/a&gt; is a plugin for &lt;a class="reference external" href="https://getpelican.com"&gt;pelican&lt;/a&gt;,
a static site generator written in &lt;a class="reference external" href="https://www.python.org/"&gt;python&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Observe it first in action here: try to resize the window of our web
browser and observe the flexible rearrangement of the following images.&lt;/p&gt;
  &lt;ul class="galleria"
  &gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = images/tiryns.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/galleria/doc/content/images/tiryns.jpg --&gt;
&lt;!-- image_replace        = ./images/process/picture-tag/default/640w/tiryns.jpg --&gt;
&lt;!-- image_sizes          = None --&gt;
&lt;!-- image_srcset         = ./images/process/picture-tag/source-1/1x/tiryns.jpg 1x, ./images/process/picture-tag/source-1/2x/tiryns.jpg 2x --&gt;
&lt;!-- image_sources        = [{'srcset': './images/process/picture-tag/default/640w/tiryns.jpg 640w, ./images/process/picture-tag/default/1024w/tiryns.jpg 1024w, ./images/process/picture-tag/default/1600w/tiryns.jpg 1600w', 'media': '(min-width: 640px)', 'sizes': '100vw'}, {'srcset': './images/process/picture-tag/source-1/1x/tiryns.jpg 1x, ./images/process/picture-tag/source-1/2x/tiryns.jpg 2x'}] --&gt;
&lt;!-- image_caption        = Mycenaean Watercolor, from a fresco in &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Tiryns"&gt;Tiryns&lt;/a&gt; --&gt;
&lt;!-- image_target         = https://en.wikipedia.org/wiki/Tiryns --&gt;
&lt;!-- image_class          = picture-tag --&gt;
&lt;!-- image_type           = picture --&gt;
&lt;!-- max_height           = 350px --&gt;
&lt;!-- options              = {'class': 'picture-tag', 'max-height': '350px', 'type': 'picture'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="https://en.wikipedia.org/wiki/Tiryns"&gt;
      &lt;picture&gt;
          &lt;!-- source = {'srcset': './images/process/picture-tag/default/640w/tiryns.jpg 640w, ./images/process/picture-tag/default/1024w/tiryns.jpg 1024w, ./images/process/picture-tag/default/1600w/tiryns.jpg 1600w', 'media': '(min-width: 640px)', 'sizes': '100vw'} --&gt;
          &lt;source
              media="(min-width: 640px)"
              sizes="100vw"
              srcset="./images/process/picture-tag/default/640w/tiryns.jpg 640w, ./images/process/picture-tag/default/1024w/tiryns.jpg 1024w, ./images/process/picture-tag/default/1600w/tiryns.jpg 1600w"
          &gt;
          &lt;!-- source = {'srcset': './images/process/picture-tag/source-1/1x/tiryns.jpg 1x, ./images/process/picture-tag/source-1/2x/tiryns.jpg 2x'} --&gt;
          &lt;source
              srcset="./images/process/picture-tag/source-1/1x/tiryns.jpg 1x, ./images/process/picture-tag/source-1/2x/tiryns.jpg 2x"
          &gt;
        &lt;img
            src="./images/process/picture-tag/default/640w/tiryns.jpg"
            style="max-width: 100%; height: auto; max-height: min(100vh, 350px);cursor: pointer;"
        &gt;
      &lt;/picture&gt;
    &lt;/a&gt;
    &lt;figcaption&gt;
      Mycenaean Watercolor, from a fresco in &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Tiryns"&gt;Tiryns&lt;/a&gt;
    &lt;/figcaption&gt;
&lt;/figure&gt;      &lt;/li&gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = images/boxers.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/galleria/doc/content/images/boxers.jpg --&gt;
&lt;!-- image_replace        = ./images/process/picture-tag/default/640w/boxers.jpg --&gt;
&lt;!-- image_sizes          = None --&gt;
&lt;!-- image_srcset         = ./images/process/picture-tag/source-1/1x/boxers.jpg 1x, ./images/process/picture-tag/source-1/2x/boxers.jpg 2x --&gt;
&lt;!-- image_sources        = [{'srcset': './images/process/picture-tag/default/640w/boxers.jpg 640w, ./images/process/picture-tag/default/1024w/boxers.jpg 1024w, ./images/process/picture-tag/default/1600w/boxers.jpg 1600w', 'media': '(min-width: 640px)', 'sizes': '100vw'}, {'srcset': './images/process/picture-tag/source-1/1x/boxers.jpg 1x, ./images/process/picture-tag/source-1/2x/boxers.jpg 2x'}] --&gt;
&lt;!-- image_caption        = Watercolor, also a fresco from &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Akrotiri_(prehistoric_city)"&gt;Akrotiri&lt;/a&gt; --&gt;
&lt;!-- image_target         = https://en.wikipedia.org/wiki/Akrotiri_(prehistoric_city) --&gt;
&lt;!-- image_class          = picture-tag --&gt;
&lt;!-- image_type           = picture --&gt;
&lt;!-- max_height           = 350px --&gt;
&lt;!-- options              = {'class': 'picture-tag', 'max-height': '350px', 'type': 'picture'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="https://en.wikipedia.org/wiki/Akrotiri_(prehistoric_city)"&gt;
      &lt;picture&gt;
          &lt;!-- source = {'srcset': './images/process/picture-tag/default/640w/boxers.jpg 640w, ./images/process/picture-tag/default/1024w/boxers.jpg 1024w, ./images/process/picture-tag/default/1600w/boxers.jpg 1600w', 'media': '(min-width: 640px)', 'sizes': '100vw'} --&gt;
          &lt;source
              media="(min-width: 640px)"
              sizes="100vw"
              srcset="./images/process/picture-tag/default/640w/boxers.jpg 640w, ./images/process/picture-tag/default/1024w/boxers.jpg 1024w, ./images/process/picture-tag/default/1600w/boxers.jpg 1600w"
          &gt;
          &lt;!-- source = {'srcset': './images/process/picture-tag/source-1/1x/boxers.jpg 1x, ./images/process/picture-tag/source-1/2x/boxers.jpg 2x'} --&gt;
          &lt;source
              srcset="./images/process/picture-tag/source-1/1x/boxers.jpg 1x, ./images/process/picture-tag/source-1/2x/boxers.jpg 2x"
          &gt;
        &lt;img
            src="./images/process/picture-tag/default/640w/boxers.jpg"
            style="max-width: 100%; height: auto; max-height: min(100vh, 350px);cursor: pointer;"
        &gt;
      &lt;/picture&gt;
    &lt;/a&gt;
    &lt;figcaption&gt;
      Watercolor, also a fresco from &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Akrotiri_(prehistoric_city)"&gt;Akrotiri&lt;/a&gt;
    &lt;/figcaption&gt;
&lt;/figure&gt;      &lt;/li&gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = images/swallows.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/galleria/doc/content/images/swallows.jpg --&gt;
&lt;!-- image_replace        = ./images/process/picture-tag/default/640w/swallows.jpg --&gt;
&lt;!-- image_sizes          = None --&gt;
&lt;!-- image_srcset         = ./images/process/picture-tag/source-1/1x/swallows.jpg 1x, ./images/process/picture-tag/source-1/2x/swallows.jpg 2x --&gt;
&lt;!-- image_sources        = [{'srcset': './images/process/picture-tag/default/640w/swallows.jpg 640w, ./images/process/picture-tag/default/1024w/swallows.jpg 1024w, ./images/process/picture-tag/default/1600w/swallows.jpg 1600w', 'media': '(min-width: 640px)', 'sizes': '100vw'}, {'srcset': './images/process/picture-tag/source-1/1x/swallows.jpg 1x, ./images/process/picture-tag/source-1/2x/swallows.jpg 2x'}] --&gt;
&lt;!-- image_caption        = Watercolor, from a fresco from &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Akrotiri_(prehistoric_city)"&gt;Akrotiri&lt;/a&gt; --&gt;
&lt;!-- image_target         =  --&gt;
&lt;!-- image_class          = picture-tag --&gt;
&lt;!-- image_type           = picture --&gt;
&lt;!-- max_height           = 350px --&gt;
&lt;!-- options              = {'class': 'picture-tag', 'max-height': '350px', 'type': 'picture'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="./images/swallows.jpg"&gt;
      &lt;picture&gt;
          &lt;!-- source = {'srcset': './images/process/picture-tag/default/640w/swallows.jpg 640w, ./images/process/picture-tag/default/1024w/swallows.jpg 1024w, ./images/process/picture-tag/default/1600w/swallows.jpg 1600w', 'media': '(min-width: 640px)', 'sizes': '100vw'} --&gt;
          &lt;source
              media="(min-width: 640px)"
              sizes="100vw"
              srcset="./images/process/picture-tag/default/640w/swallows.jpg 640w, ./images/process/picture-tag/default/1024w/swallows.jpg 1024w, ./images/process/picture-tag/default/1600w/swallows.jpg 1600w"
          &gt;
          &lt;!-- source = {'srcset': './images/process/picture-tag/source-1/1x/swallows.jpg 1x, ./images/process/picture-tag/source-1/2x/swallows.jpg 2x'} --&gt;
          &lt;source
              srcset="./images/process/picture-tag/source-1/1x/swallows.jpg 1x, ./images/process/picture-tag/source-1/2x/swallows.jpg 2x"
          &gt;
        &lt;img
            src="./images/process/picture-tag/default/640w/swallows.jpg"
            style="max-width: 100%; height: auto; max-height: min(100vh, 350px);"
        &gt;
      &lt;/picture&gt;
    &lt;/a&gt;
    &lt;figcaption&gt;
      Watercolor, from a fresco from &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Akrotiri_(prehistoric_city)"&gt;Akrotiri&lt;/a&gt;
    &lt;/figcaption&gt;
&lt;/figure&gt;      &lt;/li&gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = images/caryatid.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/galleria/doc/content/images/caryatid.jpg --&gt;
&lt;!-- image_replace        = ./images/process/picture-tag/default/640w/caryatid.jpg --&gt;
&lt;!-- image_sizes          = None --&gt;
&lt;!-- image_srcset         = ./images/process/picture-tag/source-1/1x/caryatid.jpg 1x, ./images/process/picture-tag/source-1/2x/caryatid.jpg 2x --&gt;
&lt;!-- image_sources        = [{'srcset': './images/process/picture-tag/default/640w/caryatid.jpg 640w, ./images/process/picture-tag/default/1024w/caryatid.jpg 1024w, ./images/process/picture-tag/default/1600w/caryatid.jpg 1600w', 'media': '(min-width: 640px)', 'sizes': '100vw'}, {'srcset': './images/process/picture-tag/source-1/1x/caryatid.jpg 1x, ./images/process/picture-tag/source-1/2x/caryatid.jpg 2x'}] --&gt;
&lt;!-- image_caption        = Watercolor, the &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Caryatid"&gt;Caryatid&lt;/a&gt; porch at the &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Acropolis_of_Athens"&gt;Acropolis&lt;/a&gt; --&gt;
&lt;!-- image_target         = none --&gt;
&lt;!-- image_class          = picture-tag --&gt;
&lt;!-- image_type           = picture --&gt;
&lt;!-- max_height           = 350px --&gt;
&lt;!-- options              = {'class': 'picture-tag', 'max-height': '350px', 'type': 'picture'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
      &lt;picture&gt;
          &lt;!-- source = {'srcset': './images/process/picture-tag/default/640w/caryatid.jpg 640w, ./images/process/picture-tag/default/1024w/caryatid.jpg 1024w, ./images/process/picture-tag/default/1600w/caryatid.jpg 1600w', 'media': '(min-width: 640px)', 'sizes': '100vw'} --&gt;
          &lt;source
              media="(min-width: 640px)"
              sizes="100vw"
              srcset="./images/process/picture-tag/default/640w/caryatid.jpg 640w, ./images/process/picture-tag/default/1024w/caryatid.jpg 1024w, ./images/process/picture-tag/default/1600w/caryatid.jpg 1600w"
          &gt;
          &lt;!-- source = {'srcset': './images/process/picture-tag/source-1/1x/caryatid.jpg 1x, ./images/process/picture-tag/source-1/2x/caryatid.jpg 2x'} --&gt;
          &lt;source
              srcset="./images/process/picture-tag/source-1/1x/caryatid.jpg 1x, ./images/process/picture-tag/source-1/2x/caryatid.jpg 2x"
          &gt;
        &lt;img
            src="./images/process/picture-tag/default/640w/caryatid.jpg"
            style="max-width: 100%; height: auto; max-height: min(100vh, 350px);"
        &gt;
      &lt;/picture&gt;
    &lt;figcaption&gt;
      Watercolor, the &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Caryatid"&gt;Caryatid&lt;/a&gt; porch at the &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Acropolis_of_Athens"&gt;Acropolis&lt;/a&gt;
    &lt;/figcaption&gt;
&lt;/figure&gt;      &lt;/li&gt;
  &lt;/ul&gt;
&lt;p&gt;The &lt;a class="reference external" href="https://galleria.artliba.org"&gt;galleria&lt;/a&gt; plugin implements a &lt;a class="reference external" href="https://en.wikipedia.org/wiki/ReStructuredText"&gt;reStructuredText&lt;/a&gt;
directive for defining galleries in an intuitive way.
Observe some real-life application of this plugin: just have a look at
the &lt;a class="reference external" href="https://greuzecottave.artliba.org"&gt;Greuze-Cottave&lt;/a&gt; web site or the present author's &lt;a class="reference external" href="https://pirogh.artliba.org"&gt;Pirogh&lt;/a&gt; site.&lt;/p&gt;
&lt;p&gt;The previous galleria shows four watercolors from 2022 by &lt;a class="reference external" href="https://pirogh.artliba.org"&gt;Pirogh&lt;/a&gt;,
which is also the  author of the present plugin.
The original models was three Mycenaean fresco from the ancient Greece done between 1400 and 1200 BC,
which could be observed in the &lt;a class="reference external" href="https://en.wikipedia.org/wiki/National_Archaeological_Museum,_Athens"&gt;archaeological museum&lt;/a&gt;  in Athens, and the last is a watercolor
on the motif that represents the &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Caryatid"&gt;Caryatid&lt;/a&gt; porch at the &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Acropolis_of_Athens"&gt;Acropolis&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Try to resize your window browser:
observe the flexible rearrangement of the images.
This is possible thanks to the &lt;a class="reference external" href="https://www.w3schools.com/cssref/css3_pr_flex.php"&gt;flex&lt;/a&gt; container feature implemented by the
&lt;a class="reference external" href="https://galleria.artliba.org"&gt;galleria&lt;/a&gt; plugin.
This is especially useful when displaying on mobile phones.
Moreover, this plugin is able to automatically minimize the overall page weight:
it save you a trip to &lt;a class="reference external" href="https://www.gimp.org"&gt;gimp&lt;/a&gt; each time you include an image in your post.
It also makes it easy to create responsive images using the &lt;tt class="docutils literal"&gt;html5 srcset&lt;/tt&gt;
attribute and &lt;tt class="docutils literal"&gt;&amp;lt;picture&amp;gt;&lt;/tt&gt; tag.
It does this by automatically generating multiple derivative images
from one or more sources.
It is possible efficiently to manage web site with thousands of large images,
and each gallery could displays hundred of images: the result will optimize
the bandwidth of the connection, depending upon the resolution of the user's display.
Finally the thumbnail's image resolution itself is also responsive,
in the sense that it takes into account the physical resolution
of our window and screen resolution.
When you click on a thumbnail of a picture, a full resolution version
of this picture is displayed.
The &lt;a class="reference external" href="https://galleria.artliba.org"&gt;galleria&lt;/a&gt; will never overwrite your original images.&lt;/p&gt;
&lt;p&gt;You're interested? Fascinated? Let's start!
First, download and install the plugin:&lt;/p&gt;
&lt;pre class="code bash literal-block"&gt;
git&lt;span class="w"&gt; &lt;/span&gt;clone&lt;span class="w"&gt; &lt;/span&gt;https://gricad-gitlab.univ-grenoble-alpes.fr/internet/galleria
&lt;/pre&gt;
</content><category term="Overview"></category><category term="introduction"></category></entry></feed>