<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I've been experimenting with piwigo and created a few test albums. I quite like it. There are two options to populating albums:</p>
    <p>1. Use the Export to piwigo option.</p>
    <p>2. Use ftp/rsync/etc to copy files directly to piwigo.</p>
    <p>Although 1 appears to work ok, and has the benefit of appearing to rename photos on-the-fly to something neutral and piwigo legal, I prefer generally to manage files myself using rsync, scp, ssh etc. However piwigo has quite strict limitations on legal filenames (no spaces or special characters, hyphen, underscore or periods only.)</p>
    <p>My normal rename recipe in digikam is:
</p>
    <blockquote>
      <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">[date:ddd dMMMyyyy_hhmmss]_[db:TagsList]{replace:",","-"}{unique}</p>
    </blockquote>
    <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">which is generally ok, and with a bit of tweaking,</p>
    <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <blockquote>
      <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">[date:ddddMMMyyyy_hhmmss]_[db:TagsList]{replace:",","-"}{replace:" ",""}{unique}</p>
    </blockquote>
    <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">I can remove white-space too. However this doesn't help with foreign characters. For example, I have a lot of photos of Tallinn from August last year such as:</p>
    <blockquote>
      <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Wed 28Aug2024 123603_Eesti - Harju maakond - Tallinn - Põhja-Tallinna linnaosa - Vesilennuki_15.jpg</p>
      <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Thu 29Aug2024 112759_Eesti - Harju maakond - Tallinn - Haabersti linnaosa - Vabaõhumuuseumi tee_43.jpg
</p>
    </blockquote>
    <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">etc ...</p>
    <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">and I'm wondering whether it's possible, either in digikam or using a Linux utility, to create piwigo safe filenames. <a class="moz-txt-link-freetext" href="https://github.com/dharple/detox">https://github.com/dharple/detox</a> looks interesting although I haven't tried it yet.</p>
    <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Dougie</p>
    <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><style
    type="text/css">p, li { white-space: pre-wrap; }hr { height: 1px; border-width: 0; }li.unchecked::marker { content: "\2610"; }li.checked::marker { content: "\2612"; }</style></p>
    <p><style type="text/css">p, li { white-space: pre-wrap; }hr { height: 1px; border-width: 0; }li.unchecked::marker { content: "\2610"; }li.checked::marker { content: "\2612"; }</style></p>
  </body>
</html>