From 0b6204e5fbebb7dc14bfe47e598f53d241c21b97 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Tue, 27 May 2003 20:56:13 +0000 Subject: *** empty log message *** git-svn-id: http://piwigo.org/svn/trunk@19 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/thumbnail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin/thumbnail.php') diff --git a/admin/thumbnail.php b/admin/thumbnail.php index e68ee2407..72f384a45 100644 --- a/admin/thumbnail.php +++ b/admin/thumbnail.php @@ -159,7 +159,7 @@ function RatioResizeImg( $image, $newWidth, $newHeight, $path, $extension) umask(0000); mkdir( $path."thumbnail", 0777 ); } - $dest_file = $path."thumbnail/".$conf['prefixe_thumbnail'].substr ( $image, 0, strrpos ( $image, ".") ).".".$extension; + $dest_file = $path."thumbnail/".$conf['prefix_thumbnail'].substr ( $image, 0, strrpos ( $image, ".") ).".".$extension; // création et sauvegarde de l'image finale imagejpeg($destImage, $dest_file); @@ -177,7 +177,7 @@ function RatioResizeImg( $image, $newWidth, $newHeight, $path, $extension) 'width' => $taille_image[0], 'height' => $taille_image[1], 'size' => $size, - 'tn_name' => $conf['prefixe_thumbnail'].substr ( $image, 0, strrpos ( $image, ".") ).".".$extension, + 'tn_name' => $conf['prefix_thumbnail'].substr ( $image, 0, strrpos ( $image, ".") ).".".$extension, 'tn_width' => $tn_taille_image[0], 'tn_height' => $tn_taille_image[1], 'tn_size' => $tn_size -- cgit v1.2.3