Angelo,
Just an idea: how can you keep Aspect ratio and size
50x50 if the original
is not a square?
in XWiki 3.5 this works wonderfully, it chooses something to fit the first size.
Of course it will not end up be square and thus one of the wishes is not satisfied, but it
is not bigger than these two sizes.
Since we are still on an old XWiki version I don't
know how much changed in
v5.x, but here are two hints on possible issues:
1. The image plugin had a bug in versioning where it could happen, that a
cached image would not get invalidated correctly. This is easy to check:
the image would be resized correctly if you use other resize dimensions.
And it does not.
2. The image can not be properly decoded and hence not
resized. One (of
many) reasons for that: the image uses CMYK colour scheme (from print)
instead of the RGB expected by the image plugin. You can check that in any
decent graphics editing program.
Also not the case: the result of identify:
200x256 200x256+0+0 8-bit sRGB 50.8KB 0.000u 0:00.000
The image plugin would be doing this?
Indeed it is configured:
com.xpn.xwiki.plugin.image.ImagePlugin,\
It seems to be living inside xwiki-platform-legacy-oldcore-5.1.jar but maybe that plugin
is disabled?
thanks for hints.
Paul