Mail Index


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ApacheGallery] Apache::Gallery, $FILES variable not set



On Mon, May 27, 2002 at 04:47:10PM +0100, Michael Barker wrote:
> 
> I just checked:
> 
> -rw-r--r--    1 apache   apache      15652 May 24 01:44 people.gif
> 
> Looks ok.
> 
> Mike.
>

Ah, I'm sorry.  I missed the salient point in your first message -- the
problem is that Apache::Gallery doesn't handles .gif files.  It's all
of the code that looks like

        $file =~ m/\.(jpg|jpeg|png)$/i

in Apache/Gallery.pm.

Throw a .jpg or .png in the directory and it should work.

I haven't tried, but I suspect adding "gif" to the list in those regexes
(regexen?)  would work (I believe imlib handles gifs all right.  Or maybe
it doesn't (for political reasons re: unisys patent or whatever.))

Eric

---------------------------------------------------------------------
Apache::Gallery users mailinglist. http://apachegallery.dk/
To unsubscribe, e-mail: [email protected]