New theme for the digiKam HTML gallery tool

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

New theme for the digiKam HTML gallery tool

Bob-3

Hello, all.

I've just spent a few weeks creating a new theme for digiKam's HTML gallery tool. The aims of the new theme are:

  • Generate pages using valid HTML5 markup (replacing the old XHTML 1.0 markup of previous themes).
  • Make available several responsive visual styles defined by CSS3 stylesheets.
  • Generate pages using UTF-8 character encoding to allow non-Latin characters to be rendered correctly in photo captions.
  • Use the PhotoSwipe interactive gallery module (replacing the LyteBox gallery module).

See??this page for links to example galleries using each of the four visual styles currently included with the new theme.

The new theme, and instructions on how to use it with digiKam, can be found on my GitLab project page.

Try it out and let me know what you think. If people like it and there are no outstanding technical (or licensing) problems then I like the idea that this theme might be included in the digiKam distribution at some point in the future.

--

Bob

Reply | Threaded
Open this post in threaded view
|

Re: New theme for the digiKam HTML gallery tool

Gilles Caulier-4
Hi,

Q: how many theme are available on you gitlab project. Just one or more ? As i can see on your samples, more than one can be processed.

If there is objection, i can put these new themes on the next 7.0.0...

Best

Gilles Caulier

Le mar. 19 nov. 2019 à 16:39, Bob <[hidden email]> a écrit :

Hello, all.

I've just spent a few weeks creating a new theme for digiKam's HTML gallery tool. The aims of the new theme are:

  • Generate pages using valid HTML5 markup (replacing the old XHTML 1.0 markup of previous themes).
  • Make available several responsive visual styles defined by CSS3 stylesheets.
  • Generate pages using UTF-8 character encoding to allow non-Latin characters to be rendered correctly in photo captions.
  • Use the PhotoSwipe interactive gallery module (replacing the LyteBox gallery module).

See??this page for links to example galleries using each of the four visual styles currently included with the new theme.

The new theme, and instructions on how to use it with digiKam, can be found on my GitLab project page.

Try it out and let me know what you think. If people like it and there are no outstanding technical (or licensing) problems then I like the idea that this theme might be included in the digiKam distribution at some point in the future.

--

Bob

Reply | Threaded
Open this post in threaded view
|

Re: New theme for the digiKam HTML gallery tool

Bob-3
Hello, Gilles.

It's a single theme which generates the same HTML5 markup, but four different CSS3 stylesheets are included and these greatly alter the way that the HTML5 markup is presented. (The aim is to have the HTML5 totally semantic, and have the presentation entirely handled by the CSS3. Think CSS Zen Garden.)

My only concern with this model is that the resulting gallery will contain the CSS files and JPEG/PNG graphics even for styles which have not been selected. (The generated resources directory is 1.0MiB in size, regardless of whether its images are needed or not.) So I'm wondering whether the developers here feel that this one theme should be split into four (perhaps with common components shared via symlinks). Alternatively, if you know of a way to instruct the digiKam HTML gallery tool to only selectively copy the required css and image sub-directories, let me know.

If this theme (or set of themes) is added to the official digiKam project, would I be able to make commits to the theme directory in future (as I have other visual styles in mind)?
--
Bob

On 19/11/2019 17:52, Gilles Caulier wrote:
Hi,

Q: how many theme are available??on you gitlab project. Just one or more ? As i can see on your samples, more than one can be processed.

If there is objection, i can put these new themes on the next 7.0.0...

Best

Gilles Caulier