I dont understand this error
Warning: imagecreatefromwbmp(): ‘…/providers/13//panda.bmp’ is not a valid WBMP file in /home/luke69/public_html/admin/generate_thumbnails.php on line 84
I thought a wbmp file has a bmp extension? I used it to try to create a thumbnail from a bmp image, in the switch
switch ($type) {
case 1 :
$im = imagecreatefromgif($image);
$fun = "imagegif";
break;
case 2 :
$im = imagecreatefromjpeg($image);
$fun = "imagejpeg";
break;
case 3 :
$im = imagecreatefrompng($image);
$fun = "imagepng";
break;
case 6 :
$im = imagecreatefromwbmp($image);
$fun = "imagewbmp";
break;
default :
//do nothing
}