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 05:26:13PM +0100, Michael Barker wrote:
> On Mon, 2002-05-27 at 17:07, Eric wrote:
> > 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.))
Actually I think it that imlib doesn't do it on purpose.
> Thanks, thought that might be the case. Tried with a JPG. Fix one
> problem and another rears its head. I now get the following in the
> error log. The page finds the image but it does not display it in any
> resolution.
[cut]
Which version of imlib? I think I saw something close to this last time
I upgraded my version of imlib.
> [CGI::FastTemplate] Warning: no value found for variable: DATE
> [Mon May 27 17:16:33 2002] [error] [client 195.217.55.88] File does not
> exist: /var/www/html/scan/.cache/75x109.448818897638-moscow06.jpg
Can you try to rescale the picture so it has better proportions? Just to
test wheter it's something software related. What is in the /var/www/html/scan/.cache/
directory?
--
Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/>
mod_pointer <http://stderr.net/mod_pointer> <http://photos.eibner.dk/>
!(C)<http://copywrong.dk/> <http://apachegallery.dk/>
Putting the HEST in .COM <http://www.hestdesign.com/>
---------------------------------------------------------------------
Apache::Gallery users mailinglist. http://apachegallery.dk/
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx