show photo id during mass generating thumbnails
authorAndreas Unterkircher <unki@netshadow.at>
Mon, 18 Jun 2007 18:19:32 +0000 (18:19 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Mon, 18 Jun 2007 18:19:32 +0000 (18:19 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@107 fa6a889d-dae6-447d-9e79-4ba9a3039384

phpfspot.class.php

index e15f8e5e9aa66af354e943a80b1f9488ec7558f5..cf0fa25686073478295144508e1b2e9eb5ac2718 100644 (file)
@@ -552,7 +552,7 @@ class PHPFSPOT {
          $full_path = $this->translate_path($details['directory_path'])  ."/". $details['name'];
          $file_md5 = md5_file($full_path);
 
          $full_path = $this->translate_path($details['directory_path'])  ."/". $details['name'];
          $file_md5 = md5_file($full_path);
 
-         if($fromcmd) print "Image ". $details['name'] ." Thumbnails:";
+         if($fromcmd) print "Image [". $photo ."] ". $details['name'] ." Thumbnails:";
 
          /* if the file hasn't changed there is no need to regen the thumb */
          if($file_md5 == $this->getMD5($photo)) {
 
          /* if the file hasn't changed there is no need to regen the thumb */
          if($file_md5 == $this->getMD5($photo)) {