This is an old revision of the document!


Web Applications

Piwigo

  • Install version 2.8.3 (http://piwigo.org/)
  • Configuration
    • Plugins: install and activate
      • Admin Tools - UNcheck open toolbar by default
      • Batch Downloader
      • Batch Manager, Photo Description
      • Download by Size
      • Download Permissions
      • Exif View
      • Export Data
      • GThumb+ - Number of photos per page: 20 / Scale thumbnails: Resize
      • LocalFiles Editor
      • Read Metadata
      • Rotate Image
      • RV Thumb Scroller
      • SortOrders
      • Write Metadata
    • Themes
      • Deactivate Smart Pocket (Mobile)
      • Install, Activate and make Default: Bootstrap Darkroom
        • Configuration
          • Default: Social integration: UNcheck Enabled
          • Default: Custom CSS
            • input, select, textarea {
                color: #444;
              }
          • Extra: Thumbnail page display - Link thumbnail to Photoswipe Slideshow (Mobile devices only)
          • Change template/picture.tpl, line 37
            • <div class="container">
                <div class="text-center col-lg-10 -col-md-12 col-centered">
                  <section id="important-info">
              	{if isset($current.TITLE)}
                      <h4 class="imageComment">{$current.TITLE}</h4>
              	{/if}
              	{if isset($COMMENT_IMG)}
                      <h5 class="imageComment">{$COMMENT_IMG}</h5>
              	{/if}
              	{if $display_info.tags and isset($related_tags)}
                          <div id="Tags" class="imageInfo">
                              <dd>
                                  {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}<a href="{$tag.URL}">{$tag.name}</a>{/foreach}
                              </dd>
                          </div>
              	{/if}
                  </section>
                </div>
              </div>
    • local/config/config.inc.php
      • <?php 
        $conf["show_exif"] = true;
        $conf["use_exif"] = true;
        $conf['show_exif_fields'] = array('ImageDescription',
                                          'Make',
                                          'Model',
                                          'DateTime',
                                          'COMPUTED;ApertureFNumber');
        $conf['use_exif_mapping'] = array(
          'date_creation' => 'DateTimeOriginal',
          'name' => 'ImageDescription'
          );
        $conf['show_iptc'] = true;
        $conf['use_iptc'] = true;
        $conf['use_iptc_mapping'] = array(
          'keywords'        => '2#025', /* IPTC Keywords */
          'date_creation'   => '2#055', /* IPTC Date Created */
          'author'          => '2#080', /* IPTC Creator (By-Line)/Autor */
          'name'            => '2#105', /* IPTC Headline */
          'comment'         => '2#120'  /* IPTC Description/Caption */
          );
        $conf['show_iptc_mapping'] = array(
          'iptc_headline'        => '2#105',
          'iptc_keywords'        => '2#025',
          'iptc_date_created'    => '2#055',
          'iptc_caption_writer'  => '2#122',
          'iptc_creator'         => '2#080',
          'iptc_byline_title'    => '2#085',
          'iptc_caption'         => '2#120',
          'iptc_title'           => '2#005',
          'iptc_location'        => '2#092',
          'iptc_city'            => '2#090',
          'iptc_country_code'    => '2#100',
          'iptc_country'         => '2#101',
          'iptc_copyright'       => '2#116'
          );
        ?>
    • languages
      • local/language/en_UK.lang.php)
        • $lang['iptc_headline'] = "Headline";
          $lang['iptc_keywords'] = "Keywords";
          $lang['iptc_date_created'] = "Date Created";
          $lang['iptc_caption_writer'] = "Caption Writer";
          $lang['iptc_creator'] = "Creator";
          $lang['iptc_byline_title'] = "Byline Title";
          $lang['iptc_caption'] = "Caption";
          $lang['iptc_title'] = "Title";
          $lang['iptc_location'] = "Location";
          $lang['iptc_city'] = "City";
          $lang['iptc_country_code'] = "Country Code";
          $lang['iptc_country'] = "Country";
          $lang['iptc_copyright'] = "Copyright";
      • local/language/fr_FR.lang.php)
        • $lang['Name'] = 'Nom';
          /* IPTC */
          $lang['iptc_headline'] = "Gros Titre";
          $lang['iptc_keywords'] = "Mots-cléfs";
          $lang['iptc_date_created'] = "Date de création de l'objet";
          $lang['iptc_caption_writer'] = "Auteur de la Description";
          $lang['iptc_creator'] = "Créateur de l'objet (auteur)";
          $lang['iptc_byline_title'] = "Titre du créateur";
          $lang['iptc_caption'] = "Description";
          $lang['iptc_title'] = "Titre";
          $lang['iptc_location'] = "Locatie";
          $lang['iptc_city'] = "Ville";
          $lang['iptc_country_code'] = "Code du pays";
          $lang['iptc_country'] = "Pays";
          $lang['iptc_copyright'] = "Crédit";
      • local/language/nl_NL.lang.php)
        • <code>