19a20,23 > # patch Walter: on the server (if $MiniGeneratedAlready=TRUE) do not check that the thumbnails are younger than the originals, > # the timestamp is set by the copy to the server > # and the thumbnails should be correctly generated locally before copy to the server! > SDV($MiniGeneratedAlready, FALSE); 49c53 < $UploadPrefixFmt, $EnableDirectDownload, $Mini; --- > $UploadPrefixFmt, $EnableDirectDownload, $Mini, $MiniGeneratedAlready; 142a147 > 152c157 < if(file_exists($mpath) && filemtime($mpath)>=filemtime($fpath)) --- > if(file_exists($mpath) && ($MiniGeneratedAlready || filemtime($mpath)>=filemtime($fpath))) { 154c159 < else{ --- > }else{