Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
web:applications:piwigo [2017-01-05 18:11] adminweb:applications:piwigo [2023-10-26 20:08] (current) – external edit 127.0.0.1
Line 18: Line 18:
       * SortOrders       * SortOrders
       * Write Metadata       * Write Metadata
 +    * [[web:applications:piwigo:additional|Additional changes]]
     * **Themes**     * **Themes**
       * Deactivate Smart Pocket (Mobile)       * Deactivate Smart Pocket (Mobile)
Line 23: Line 24:
         * Configuration         * Configuration
           * Default: Social integration: UNcheck Enabled           * Default: Social integration: UNcheck Enabled
 +          * Default: Custom CSS
 +            * <code>
 +input, select, textarea {
 +  color: #444;
 +}
 +</code> 
           * Extra: Thumbnail page display - Link thumbnail to Photoswipe Slideshow (Mobile devices only)           * Extra: Thumbnail page display - Link thumbnail to Photoswipe Slideshow (Mobile devices only)
 +          * Change template/picture.tpl, line 37 
 +            * <code> 
 +<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> 
 +</code>  
 +     * local/config/config.inc.php 
 +       * <code> 
 +<?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' 
 +  ); 
 +?> 
 +</code> 
 +     * languages 
 +       * local/language/en_UK.lang.php) 
 +         * <code> 
 +$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"; 
 +</code> 
 +       * local/language/fr_FR.lang.php) 
 +         * <code> 
 +$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"; 
 +</code> 
 +       * local/language/nl_NL.lang.php) 
 +         * <code> 
 +$lang['Name'] = 'Naam'; 
 +/* IPTC */ 
 +$lang['iptc_headline'] = "Hoofding"; 
 +$lang['iptc_keywords'] = "Trefwoorden"; 
 +$lang['iptc_date_created'] = "Opnamedatum"; 
 +$lang['iptc_caption_writer'] = "Naam omschrijver"; 
 +$lang['iptc_creator'] = "Fotograaf/Auteur"; 
 +$lang['iptc_byline_title'] = "Fotograaf Titel"; 
 +$lang['iptc_caption'] = "Omschrijving"; 
 +$lang['iptc_title'] = "Titel"; 
 +$lang['iptc_location'] = "Locatie"; 
 +$lang['iptc_city'] = "Plaats"; 
 +$lang['iptc_country_code'] = "Landcode"; 
 +$lang['iptc_country'] = "Land"; 
 +$lang['iptc_copyright'] = "Rechten"; 
 +</code>