Annonce

#1 2003-07-30 05:44:14

kapla
Invité

Petit Problem

Coucou, tout dabord félicitation pour ton travail c'est vraiment génial :D

le problem est simple lorsque je suis en mode admin je parametre 800x600 la ca marche
en mode utilisateur limage ne bouge pas et reste a son format

ne peut ton pas enlever les commentaire sous les image ex:

enregistré le :  28/07/2003
dimensions :  1161*1004
fichier :  mariage eve 2.JPG
poids :  654 KB



meci de votre reponce :D 

#2 2003-07-30 22:59:24

plg
Équipe Piwigo
Nantes, France, Europe
2002-04-05
12644

Re: Petit Problem

pour la taille maximale d'affichage, elle est liée à l'utilisateur. Il existe un utilisateur représentant tous les visiteurs non logués. On ne peut changer sa taille maximale d'affichage que directement dans la base de données (ça change dans la version 1.3).

Pour enlever les informations en dessous de l'image sur photo.php, retires :

Code:

    373         echo"
    374         <table style=\"width:100%;\">
    375                 <tr>
    376                         <td align=\"center\">
    377                                 <table style=\"margin:auto;margin-top:5px;margin-bottom:5px;\">";
    378         if ( $page['author'] != "" )
    379         {
    380                 echo"
    381                                         <tr>
    382                                                 <td class=\"menu\" style=\"font-weight:bold;\">".$lang['author']." : </td>
    383                                                 <td style=\"text-align:right;\">".$page['author']."</td>
    384                                         </tr>";
    385         }
    386         if ( $page['date_creation'] != "" )
    387         {
    388                 $tab_date = explode( "-", $page['date_creation'] );
    389                 echo"
    390                                         <tr>
    391                                                 <td class=\"menu\" style=\"font-weight:bold;\">".$lang['creation_date']." : </td>
    392                                                 <td class=\"menu\" style=\"text-align:right;\">".$tab_date[2]."/".$tab_date[1]."/".$tab_date[0]."</td>
    393                                         </tr>";
    394         }
    395         $tab_date = explode( "-", $page['date_available'] );
    396         echo"
    397                                         <tr>
    398                                                 <td class=\"menu\" style=\"font-weight:bold;\">".$lang['registration_date']." : </td>
    399                                                 <td class=\"menu\" style=\"text-align:right;\">".$tab_date[2]."/".$tab_date[1]."/".$tab_date[0]."</td>
    400                                         </tr>";
    401         echo"
    402                                         <tr>
    403                                                 <td class=\"menu\" style=\"font-weight:bold;\">".$lang['size']." : </td>
    404                                                 <td class=\"menu\" style=\"text-align:right;\">";
    405         if ( $original_width != $final_width || $original_height != $final_height )
    406         {
    407                 echo"[ <a href=\"$lien_image\" title=\"".$lang['true_size']."\">$original_width*$original_height</a> ]";
    408         }
    409         else
    410         {
    411                 echo $original_width."*".$original_height;
    412         }
    413         echo"</td>
    414                                         </tr>";
    415         echo"
    416                                         <tr>
    417                                                 <td class=\"menu\" style=\"font-weight:bold;\">".$lang['file']." : </td>
    418                                                 <td class=\"menu\" style=\"text-align:right;\">";
    419         if ( $page['cat'] == 'search' )
    420         {
    421                 echo replace_search( $page['file'], $HTTP_GET_VARS['search'] );
    422         }
    423         else
    424         {
    425                 echo $page['file'];
    426         }
    427         echo "</td>
    428                                         </tr>";
    429         if ( $page['filesize'] == "" )
    430         {
    431                 $poids = floor ( filesize( $lien_image ) / 1024 );
    432         }
    433         else
    434         {
    435                 $poids = $page['filesize'];
    436         }
    437         echo"
    438                                         <tr>
    439                                                 <td class=\"menu\" style=\"font-weight:bold;\">".$lang['filesize']." : </td>
    440                                                 <td class=\"menu\" style=\"text-align:right;\">$poids KB</td>
    441                                         </tr>
    442                                 </table>
    443                         </td>
    444                 </tr>
    445         </table>";

Les historiens ont établi que Pierrick était le premier utilisateur connu de Piwigo.

Hors ligne

#3 2003-07-31 22:32:54

cf7254
Membre
2003-07-30
7

Re: Petit Problem

dsl suis trop movais mai merci encore

Hors ligne

Pied de page des forums

Propulsé par FluxBB

github twitter newsletter Faire un don Piwigo.org © 2002-2024 · Contact