OK folks! Yet another problem with tif and so on...
Uploading jpg and gif works fine, but with tif I got this error (even when uploading "tiny" tif's):
"Error: Invalid image"
...however, this is in the "util.php":
function acceptableImageList() {
return array('jpg', 'gif', 'png', 'tif', 'eps');
...and this:
function valid_image($file) {
if (($type = getimagesize($file)) == FALSE)
return 0;
switch($type[2])
{
case 1: // GIF
case 2: // JPEG
case 3: // PNG
case 4: // TIF
case 5: // EPS
return 1;
break;
default:
return 0;
break;
I've installed:
Gallery 1.3.3
ImageMagick-5.4.9-1.i386.rpm
ImageMagick-perl-5.4.9-1.i386.rpm
libtiff-3.5.7-2.i386.rpm
libungif-4.1.0-10.i386.rpm
XFree86-libs-4.2.0-8.i386.rpm
netpbm-9.24-3.i386.rpm
netpbm-progs-9.24-3.i386.rpm
And running php 4.1.2
Thomas