Hi,
On Aug 6, 2013, at 10:56 AM, Sunil Saw <sunil.saw666(a)gmail.com> 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?
See
http://jira.xwiki.org/browse/XWIKI-9387
Thanks
-Vincent
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