we check now for file changes with md5 sums.
authorAndreas Unterkircher <unki@netshadow.at>
Thu, 14 Jun 2007 20:02:00 +0000 (20:02 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Thu, 14 Jun 2007 20:02:00 +0000 (20:02 +0000)
so the file existing check of the thumbnails can be removed

git-svn-id: file:///var/lib/svn/phpfspot/trunk@92 fa6a889d-dae6-447d-9e79-4ba9a3039384

phpfspot.class.php

index e3a1ba617ff4453b9ab702bc2c3d51e5ed3950e9..0095ca819b13157c4e971acaecb907db3a42296b 100644 (file)
@@ -361,10 +361,6 @@ class PHPFSPOT {
 
    public function create_thumbnail($image, $width)
    {  
-      // if thumbnail already exists, don't recreate it
-      if(file_exists(dirname($image) ."/thumbs/". $width ."_". basename($image)))
-         return;
-
       $meta = $this->get_meta_informations($image);
 
       $rotate = 0;