Hi,
I saw the workaround explained in JIRA “install the image plugin version
3.5 which does not handle streams of images but byte-arrays.”
However, I don’t know how to install Image plugin version 3.5. I searched
in Extensions Repository and “WEB-INF\lib” folder, but did not find any
with such a name.
Can you please help me with the procedure?
Please do needful ASAP.
Thanks,
Sunil
On Tue, Aug 6, 2013 at 3:06 PM, Paul Libbrecht <paul(a)hoplahup.net> wrote:
Sunil,
As Vincent reported, this is reported and there is at least a workaround
in
http://jira.xwiki.org/browse/XWIKI-9387.
I think this is clearly independent of the clients' OS.
Please note that in many cases it shows ok in web-pages just because CSS
or html-attributes actually do the resize. The problem is that these
resizes waste bandwidth (sometimes to a limit that is unacceptable for
browser's resources, e.g. when a 10 Mpixel image is used) and that the
keepAspectRation feature is absent thus images are shrunk.
To test, you still need to "display image alone" and see if the resize is
actually done.
A question to you: does the install on Windows XP also use the
file-system-attachments?
If yes, then we have clearly a platform-dependent-issue, something such as
buffer-size-difference or so.
thanks
Paul
On 6 août 2013, at 10:56, Sunil Saw wrote:
Hi Marius,
Yes, we use File System Attachments.
FYI our original Xwiki installation and database was based on Xwiki
4.5.3.
We have upgraded from XWiki 4.5.3 to 5.0.3 and
then to 5.1 currently.
This installation is running on an Ubuntu 12.04 LTS machine with default
generic Installer environment (with JETTY and Hibernate).
The clients use various flavors of Windows (XP, 7 etc.).
We also tried copying the same database to a Windows XP machine with
XWiki
5.1 and there the User Directory images are
getting resized properly.
We tested it using a URL like *
/xwiki/bin/download/XWiki/mflorea/me.jpg?width=50&height=50&keepAspectRatio=true
*
Only on the Linux Xwiki installation, there is no effect on resizing in
User Directory.
However, we also noticed that on Profile Page, the exact same image URL
is
shown as resized.
Is it due to some access rights issue for any image resizing library on
Ubuntu Linux?
Can we enable any special trace logs messages to analyze this?
On Mon, Aug 5, 2013 at 12:51 PM, Marius Dumitru Florea <
mariusdumitru.florea(a)xwiki.com> wrote:
> Are you using the file system attachment storage?
>
> On Mon, Aug 5, 2013 at 8:21 AM, Sunil Saw <sunil.saw666(a)gmail.com>
wrote:
>> Hi Marius,
>>
>> Thanks for your reply.
>> The XWiki version I am using is an upgrade.
>> I cleared the browser cache and tried changing the width/height of the
>> image (in User Directory live table) in the URL query string, but it
> didnt
>> work.
>> The image size remained same as it is.
>>
>>
>> On Fri, Aug 2, 2013 at 7:26 PM, Marius Dumitru Florea <
>> mariusdumitru.florea(a)xwiki.com> wrote:
>>
>>> Hi Sunil,
>>>
>>> Is it a clean install or an upgrade? Can you clear your browser cache
>>> just to be sure there are no leftovers. Then, can you check the URL of
>>> the image displayed in the User Directory live table? It should be
>>> similar to:
>>>
>
/xwiki/bin/download/XWiki/mflorea/me.jpg?width=50&height=50&keepAspectRatio=true
> . If it is, then try changing the width/height in
the URL query string
> and see if the image is resized.
>
> Hope this helps,
> Marius
>
> On Fri, Aug 2, 2013 at 1:53 PM, Sunil Saw <sunil.saw666(a)gmail.com>
wrote:
>> Hey All,
>>
>> I installed the Xwiki 5.1 Enterprise edition. When a user updates his
>> profile picture it is re sized automatically in all the pages(e.g.
> profile
>> page, the thumbnail shown in Add Comments section etc.). But when I
view
> in
>> the user directory the automatic re size does not happen. The image
is
>> shown in a huge size(it does not get re
sized). Could anyone please
help
>> with this issue.
>>
>>
>>
>> Thanks and Regards
>> Sunil
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>>
http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users