Hi,
I have problems with uploading image, here is the code
if(isset($_POST['txtTitle']))
{
$albumId = $_POST['cboAlbum'];
$imgTitle = $_POST['txtTitle'];
$imgDesc = $_POST['mtxDesc'];
$images= uploadImage('fleImage', GALLERY_IMG_DIR);
if ($image
{
// the image cannot be uploaded
$imagePath = $thumbnailPath = '';
}
}
return array('image' => $imagePath, 'thumbnail' => $thumbnailPath);
}
Mourad Boulahboub wrote:
>
> Hi sonja,
>
>
>
>
Hi,
Thanks for help, I find the error, here is the code of functions.php
$imagePath, 'thumbnail' => $thumbnailPath);
}
/*
Create a thumbnail of $srcFile and save it to $destFile.
The thumbnail will be $width pixels.
*/
function createThumbnail($srcFile, $destFile, $width, $quality = 75)
{
3 matches
Mail list logo