Mail Index

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

[ApacheGallery] Image::Imlib2->load() check for A::G 0.9.1


In trying to diagnose a problem relating to some of my pictures not
being displayed, I noticed that on line 1362 of, the return
value of Image::Imlib2->load() is not checked -- the result is that if
that call fails, create_scaled_image is still called anyway.  I'd
suggest keeping the warn() there but immediately returning if the load

As an aside, any ideas why won't
scale?  I keep getting this in my logs:

Unable to open file
/share/www/files/pics/Jeff/EnduringFreedom/rescue-crew.JPG,  at
/usr/local/share/perl/5.8.4/Apache/ line 1362.
[Thu Feb 3 12:42:34 2005] [error] Can't call method
"create_scaled_image" on an undefined value at
/usr/local/share/perl/5.8.4/Apache/ line 1365.\n

rescue-crew.JPG seems to be a perfectly valid JPEG, it just doesn't
scale at all.  I'm having similar problems with other files in that
directory too.

Thanks in advance,


users mailing list
[email protected]