Changeset 148


Ignore:
Timestamp:
Sep 20, 2003, 11:44:57 PM (21 years ago)
Author:
z0rglub
Message:

If informations (filesize,width,height) are not given in the database about
a picture, they can be found with the file itself

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/category.php

    r134 r148  
    277277    $thumbnail_title = $row['file'];
    278278    if ( $row['filesize'] == '' )
    279     {
    280       $poids = floor( filesize( $lien_image ) / 1024 );
    281     }
     279      $poids = floor( filesize( $cat_directory.$row['file'] ) / 1024 );
    282280    else
    283     {
    284281      $poids = $row['filesize'];
    285     }
    286282    $thumbnail_title .= ' : '.$poids.' KB';
    287283    // url link on picture.php page
Note: See TracChangeset for help on using the changeset viewer.