gallery thumbnail creation fix
This commit is contained in:
parent
7988541476
commit
3cf81cadd5
1 changed files with 0 additions and 1 deletions
|
@ -69,7 +69,6 @@ class OC_Gallery_Photo {
|
|||
public static function getThumbnail($image_name) {
|
||||
$save_dir = OC_Config::getValue("datadirectory").'/'. OC_User::getUser() .'/gallery/';
|
||||
$save_dir .= dirname($image_name). '/';
|
||||
$image_name = basename($image_name);
|
||||
$thumb_file = $save_dir . $image_name;
|
||||
if (file_exists($thumb_file)) {
|
||||
$image = new OC_Image($thumb_file);
|
||||
|
|
Loading…
Reference in a new issue