we check now for file changes with md5 sums.
[phpfspot.git] / 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;