Changeset 13451 for trunk


Ignore:
Timestamp:
Mar 1, 2012, 5:18:31 PM (12 years ago)
Author:
plg
Message:

feature 2584: redesign on add photos screens

[Administration > Photos > Add] tabs become: {Web Form, Applications, FTP + Synchronization}

admin screen for pLoader is replaced by a more generic screen for applications

thanks to multisize, FTP+sync method becomes simpler

Location:
trunk
Files:
2 added
2 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/photos_add.php

    r12879 r13451  
    5454  array(
    5555    'code' => 'direct',
    56     'label' => l10n('Upload Photos'),
     56    'label' => l10n('Web Form'),
    5757    ),
    5858  array(
    59     'code' => 'ploader',
    60     'label' => l10n('Piwigo Uploader'),
     59    'code' => 'applications',
     60    'label' => l10n('Applications'),
    6161    ),
    6262  );
  • trunk/admin/themes/default/template/photos_add_direct.tpl

    r13063 r13451  
    219219
    220220<div class="titrePage">
    221   <h2>{'Upload Photos'|@translate}</h2>
     221  <h2>{'Upload Photos'|@translate} {$TABSHEET_TITLE}</h2>
    222222</div>
    223223
  • trunk/admin/themes/default/template/photos_add_ftp.tpl

    r6363 r13451  
    11<div class="titrePage">
    2   <h2>{'FTP + Synchronization'|@translate}</h2>
     2  <h2>{'Upload Photos'|@translate} {$TABSHEET_TITLE}</h2>
    33</div>
    44
    5 <a href="{$U_CAT_UPDATE}">{'Administration'|@translate} &raquo; {'Tools'|@translate} &raquo; {'Synchronize'|@translate}</a>
     5<div id="ftpPage">
     6<p><a href="{$U_CAT_UPDATE}">{'Administration'|@translate} &raquo; {'Tools'|@translate} &raquo; {'Synchronize'|@translate}</a></p>
    67
    7 <div id="ftpPage">
    88{$FTP_HELP_CONTENT}
    99</div>
  • trunk/admin/themes/default/theme.css

    r13282 r13451  
    10801080#autoOrder p, #createAlbum p {text-align:left; margin:0 0 1em 0;}
    10811081#autoOrder p.actionButtons, #createAlbum p.actionButtons {margin-bottom:0;}
     1082
     1083#ftpPage p {text-align:left;margin:1em;}
     1084#ftpPage fieldset p {margin:0;}
  • trunk/language/en_UK/admin.lang.php

    r13282 r13451  
    853853$lang['Cancel'] = 'Cancel';
    854854$lang['List'] = 'List';
     855$lang['Web Form'] = 'Web Form';
     856$lang['Applications'] = 'Applications';
    855857?>
  • trunk/language/en_UK/help/photos_add_ftp.html

    r12025 r13451  
    99  <li>With a FTP client, copy your directory in the "galleries" directory of your Piwigo installation.</li>
    1010
    11   <li>Logon your gallery and go to <span class="pwgScreen">Administration &raquo; Tools &raquo; Thumbnails</span> to create missing thumbnails.</li>
    12 
    13   <li>Go to <span class="pwgScreen">Administration</span> and click on the big Synchronization button.</li>
     11  <li>Logon your gallery and go to <span class="pwgScreen">Administration</span> and click on the big Synchronization button.</li>
    1412</ol>
    1513
    16 Congratulations! You have successfully created the first album of your photo gallery.
     14<p>Congratulations! You have successfully created the first album of your photo gallery.</p>
    1715</fieldset>
    1816
     
    2927
    3028    <pre>
    31 .
    32 |-- admin
    33 |-- doc
    34 |-- galleries
    35 |   |-- album-1
    36 |   |   |-- album-1.1
    37 |   |   |   |-- album-1.1.1
    38 |   |   |   |   |-- album-1.1.1.1
    39 |   |   |   |   |   |-- pwg_high
    40 |   |   |   |   |   |   +-- wedding.jpg
    41 |   |   |   |   |   |-- thumbnail
    42 |   |   |   |   |   |   +-- TN-wedding.jpg
    43 |   |   |   |   |   +-- wedding.jpg
    44 |   |   |   |   +-- album-1.1.1.2
    45 |   |   |   +-- album-1.1.2
    46 |   |   |-- album-1.2
    47 |   |   |   |-- pookie.jpg
    48 |   |   |   +-- thumbnail
    49 |   |   |       +-- TN-pookie.jpg
    50 |   |   +-- album-1.3
    51 |   +-- album-2
    52 |       |-- piglet.gif
    53 |       |-- pwg_representative
    54 |       |   +-- video.jpg
    55 |       |-- thumbnail
    56 |       |   +-- TN-piglet.jpg
    57 |       +-- video.avi
    58 |-- include
    59 |-- install
    60 |-- language
    61 |-- local
    62 |-- plugins
    63 |-- template-extension
    64 |-- themes
    65 +-- tool</pre>
     29galleries
     30|-- wedding
     31|   |-- celebration
     32|   |   |-- arrival
     33|   |   |   |-- paul-alone.jpg
     34|   |   |   +-- sarah-alone.jpg
     35|   |   +-- departure
     36|   |       +-- paul-and-sarah.jpg
     37|   +-- party
     38|       |-- dancers001.jpg
     39|       |-- dancers002.jpg
     40|       +-- dancers003.jpg
     41+-- honeymoon
     42    |-- hotel.png
     43    |-- video-from-plane.avi
     44    +-- pwg_representative
     45        +-- video-from-plane.jpg
     46</pre>
    6647
    6748  </li>
    6849
    69   <li>Except for those named "thumbnail", "pwg_high" or "pwg_representative" (see explanations below), each directory under "galleries" produces a album. There is no limit on deepness.</li>
     50  <li>Except for "pwg_representative" (see explanations below), each directory under "galleries" produces a album. There is no limit on deepness.</li>
    7051
    7152  <li>Basically, an element is represented by a file. A file can be a
     
    7657  configuration parameter possibilities.</li>
    7758
    78   <li>Photo elements must have an associated thumbnail (see section below
    79   about thumbnails)</li>
    80 
    81   <li>Photo elements can have a high quality file associated. As for
    82   wedding.jpg in the example above. No prefix on the high quality picture.</li>
    83 
    8459  <li>No photo elements (video, sounds, file texts, whatever you want...) are represented by default by an icon corresponding to the filename
    8560  extension. Optionally, you can associate a thumbnail and a representative
     
    8863  <li><em>Warning</em>: the name of directories and files must contain only letters, figures, "-", "_" or ".". No blank space, nor accentuated characters.</li>
    8964
    90   <li>Once files, thumbnails and representatives are correctly placed in the
     65  <li>Once photos are correctly placed in the
    9166  directories, go to: <span class="pwgScreen">Administration &raquo; Tools &raquo;
    9267  Synchronize</span></li>
     
    9469</ul>
    9570</fieldset>
    96 
    97 <fieldset>
    98   <legend>Thumbnails</legend>
    99 <ul>
    100 
    101   <li>Each photo must have its thumbnail.</li>
    102 
    103   <li>Thumbnails are stored in the "thumbnail" sub-directory of the album
    104   directory. The thumbnail has the same filename as the corresponding photo, with configuration parameter <code>prefix_thumbnail</code> as prefix (see <span class="filename">include/config.inc.php</span>).</li>
    105 
    106   <li>Thumbnails files have not necessary the same extension as the associated image (eg a ".jpg" image may have a ".GIF" extension).</li>
    107 
    108   <li>It is recommended to use an external module for thumbnails creation.</li>
    109 
    110   <li>The usage of the thumbnails creation tool integrated in Piwigo is not advisable, because the resulting quality might be disappointing and this will lie heavily on the server ressources (and that could be a serious problem on a shared server).
    111 
    112   <li>If you choose to use the webserver to generate thumbnails, you must allow write access on all albums directories.</li>
    113 
    114 </ul>
    115 </fieldset>
  • trunk/language/fr_FR/admin.lang.php

    r13296 r13451  
    854854$lang['Cancel'] = 'Annuler';
    855855$lang['List'] = 'Liste';
     856$lang['Web Form'] = 'Formulaire web';
     857$lang['Applications'] = 'Applications';
    856858?>
  • trunk/language/fr_FR/help/photos_add_ftp.html

    r10036 r13451  
    55  <li>Créez un répertoire sur votre ordinateur.</li>
    66
    7   <li>Copiez des photos à l'intérieur de ce répertoire, puis redimensionnez-les pour un affichage sur le web. <em>Attention</em> : le nom des répertoires et des fichiers ne doit contenir que des lettres, des chiffres et les caractères  "-", "_" ou ".". Pas d'espace ou de caractères accentués.</li>
     7  <li>Copiez des photos à l'intérieur de ce répertoire. <em>Attention</em> : le nom des répertoires et des fichiers ne doit contenir que des lettres, des chiffres et les caractères  "-", "_" ou ".". Pas d'espace ou de caractères accentués.</li>
    88
    99  <li>Avec un client FTP, copiez le répertoire dans le répertoire "galleries" de votre installation de Piwigo.</li>
    1010
    11   <li>Connectez-vous à votre galerie Piwigo et rendez-vous sur <span class="pwgScreen">Administration &raquo; Outils &raquo; Miniatures</span> pour créer les miniatures manquantes.</li>
    12 
    13   <li>Rendez-vous sur <span class="pwgScreen">Administration</span> et cliquez sur le gros bouton de synchronisation.</li>
     11  <li>Connectez-vous à votre galerie Piwigo, rendez-vous sur <span class="pwgScreen">Administration</span> et cliquez sur le gros bouton de synchronisation.</li>
    1412</ol>
    1513
     
    2826 
    2927<pre>
    30 .
    31 |-- admin
    32 |-- doc
    33 |-- galleries
    34 |   |-- album-1
    35 |   |   |-- album-1.1
    36 |   |   |   |-- album-1.1.1
    37 |   |   |   |   |-- album-1.1.1.1
    38 |   |   |   |   |   |-- pwg_high
    39 |   |   |   |   |   |   +-- mariage.jpg
    40 |   |   |   |   |   |-- thumbnail
    41 |   |   |   |   |   |   +-- TN-mariage.jpg
    42 |   |   |   |   |   +-- mariage.jpg
    43 |   |   |   |   +-- album-1.1.1.2
    44 |   |   |   +-- album-1.1.2
    45 |   |   |-- album-1.2
    46 |   |   |   |-- pookie.jpg
    47 |   |   |   +-- thumbnail
    48 |   |   |       +-- TN-pookie.jpg
    49 |   |   +-- album-1.3
    50 |   +-- album-2
    51 |       |-- porcinet.gif
    52 |       |-- pwg_representative
    53 |       |   +-- video.jpg
    54 |       |-- thumbnail
    55 |       |   +-- TN-porcinet.jpg
    56 |       +-- video.avi
    57 |-- include
    58 |-- install
    59 |-- language
    60 |-- local
    61 |-- plugins
    62 |-- template-extension
    63 |-- themes
    64 +-- tool</pre>
     28galleries
     29|-- mariage
     30|   |-- ceremonie
     31|   |   |-- entree
     32|   |   |   |-- arrivee-de-paul.jpg
     33|   |   |   +-- arrivee-de-virginie.jpg
     34|   |   +-- sortie
     35|   |       |-- sortie-enfants-honneur.jpg
     36|   |       +-- sortie-de-paul-et-virginie.jpg
     37|   +-- cocktail
     38|       |-- discours001.jpg
     39|       |-- discours002.jpg
     40|       +-- discours003.jpg
     41+-- voyage-de-noces
     42    |-- hotel.png
     43    |-- video-decollage-avion.avi
     44    +-- pwg_representative
     45        +-- video-decollage-avion.jpg
     46</pre>
    6547
    6648  </li>
    6749 
    68   <li>A l'exception de ceux appelés "thumbnail", "pwg_high" ou "pwg_representative" (voir explications ci-dessous), chaque répertoire dans "galleries" génère un album. Le nombre de niveaux (profondeur) n'est pas limité.</li>
     50  <li>A l'exception de celui appelé "pwg_representative", chaque répertoire dans "galleries" génère un album. Le nombre de niveaux (profondeur) n'est pas limité.</li>
    6951
    7052  <li>Fondamentalement, une photo est représentée par un fichier. Pour Piwigo, un fichier peut être une photo si son extension figure dans la liste du paramètre de configuration <code>file_ext</code> (voir
     
    7355<code>picture_ext</code>.</li>
    7456
    75   <li>Les éléments de type photo doivent avoir une miniature associée (voir la
    76 section suivante à propos des miniatures).</li>
    77 
    78   <li>Les éléments de type photo peuvent avoir une photo en grand format
    79 associé. Comme pour le fichier <span class="filename">mariage.jpg</span>
    80 dans l'exemple ci-dessus. Aucun préfixe n'est nécessaire sur le nom du
    81 fichier.</li>
    82 
    8357  <li>Les éléments autres que les photos (vidéos, sons, fichiers texte, tout ce que vous
    8458voulez...) sont représentés par défaut par une icône correspondant à
    85 l'extension du nom du fichier. Optionnellement, une miniature et un
    86 représentant peuvent être associés (voir le fichier <span
    87 class="filename">video.avi</span> dans l'exemple).</li>
     59l'extension du nom du fichier. Optionnellement, un
     60représentant peut être associé (voir le fichier <span
     61class="filename">video-decollage-avion.avi</span> dans l'exemple).</li>
    8862
    8963  <li><em>Attention</em> : le nom d'un répertoire ou d'un fichier ne doit
     
    9670des sous-album.</li>
    9771
    98   <li>Une fois que les fichiers, les miniatures et les représentants sont
     72  <li>Une fois que les fichiers sont
    9973correctement placés dans les répertoires, se rendre sur l'écran <span
    10074class="pwgScreen">Administration &raquo; Outils &raquo; Synchroniser</span>.</li>
     
    10377
    10478</fieldset>
    105 
    106 <fieldset>
    107   <legend>Miniatures</legend>
    108 
    109 <ul>
    110  
    111   <li>Comme mentionné précédemment, chaque élément de type photo doit être
    112 associé à une miniature.</li>
    113 
    114   <li>Les miniatures sont stockées dans le sous-répertoire "thumbnail" de
    115 chaque répertoire représentant un album. Une miniature est un fichier
    116 de type photo (même extension du nom du fichier) dont le nom de fichier est
    117 préfixé par le paramètre de configuration <code>prefix_thumbnail</code>
    118 (voir <span class="filename">include/config.inc.php</span>).</li>
    119 
    120   <li>Les miniatures n'ont pas besoin d'avoir la même extension que leur
    121 photo associée (une photo avec ".jpg" comme extension peut avoir une
    122 miniature en ".GIF" par exemple).</li>
    123 
    124   <li>Il est conseillé d'utiliser un outil externe pour la création des
    125 miniatures.</li>
    126 
    127   <li>Vous pouvez également utiliser l'outil de création de miniatures
    128 intégré à Piwigo mais cela est déconseillé car la qualité risque
    129 d'être décevante et cela utilise inutilement les ressources du serveur (ce
    130 qui peut être un grave problème sur un serveur mutualisé).</li>
    131 
    132   <li>Si vous choisissez d'utiliser le serveur web pour générer les
    133 miniatures, vous devez donner les droits en écriture sur les
    134 répertoires.</li>
    135 
    136 </ul>
    137 
    138 </fieldset>
Note: See TracChangeset for help on using the changeset viewer.