Also the CVS head has the same problem.
Peter Gerstbach wrote:
Hi,
well, thats strange. But I assume that this is not a problem of the ImageReader.
Maybe this is similiar to an already resolved bug in cocoonGallery.
See:
http://sourceforge.net/tracker/index.php?func=detail&aid=1084272&group_id=103593&atid=635288
The patch is only in cvs. So check out the current source of cocoonGallery from
cvs, this might help!
regards, Peter
Quoting es <[EMAIL PROTECTED]>:
Dear all, I'm trying ImageReader class for scaling down images. I'm using the example that comes with http://cocoongallery.sourceforge.net and it runs fine locally. However, when I deploy it on the public server, it reply with a 0 lenght image file. You can check it by your self here http://equobio.org/c/gallery/album1/image-h48-image-115-1587_IMG.jpg it maps to a requested for an image with height 48pixel (the dogs of Peter Gerstbach author of cocoongallery example) http://equobio.org/c/gallery/album1/image-image-115-1587_IMG.jpg locally works on the server it doesn't.
I initially suspected was due to the fact no X was installed, so I tried appending -Djava.awt.headless=true to CATALINA_OPTS env, installing xfree-commons and Xlibs, and even using PJA but with the same result.
I turned sitemap logging to DEBUG and I attached the output for a request. Unfortunatly no error is present. No errors in other logs :/
I have tried also to comment width and height parameter in <map:read but it does't change. always 0 lenght image.
What should I try to debug this problem? thanks in advance Eli
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
