On Thu, May 22, 2014 at 2:50 PM, Michael Bußler
<[email protected]> wrote:
> Just a short recap:
> I've noticed that images are shrinked according to the width= and height=
> parameters when given in XWiki 2.1 Syntax as described in [
> http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HXWikiSyntax2.1ImageSpecification
> ]
>

> Now, I wonder if it is possible, to always get the images in a higher
> resolution and let the client do the scaling?

Read again my reply :) pasting here for quick reference:

You can also disable the server-side image resize (kind off) from
xwiki.properties, using rendering.
imageDimensionsIncludedInImageURL
(if image width/height are not specified in the image URL query string
then the resize doesn't happen).

Hope this helps,
Marius

> Just think of what might
> happen, if the user starts to zoom in or how images are presented to users
> with hi-res (eg. Apples Retina) displays..
>
> To achieve this, I'm currently using the height and width parameters for
> the image container in conjunction with the queryString paramter to get an
> appropriate image resolution, but I wonder If there is better solution for
> that.
>
> Best Regards, Michael
>
>
>
>
>
>
> 2014-05-21 22:37 GMT+02:00 Michael Bußler <[email protected]>:
>
>> Hi Marius, it worked as expected!
>>
>> @vincent: At least it is documented in the mailing list now! :)
>>
>> Thanks!
>>
>> Am 21.05.2014 um 13:49 schrieb Marius Dumitru Florea <
>> [email protected]>:
>>
>> > Hi Michael,
>> >
>> > You should be able to control the quality from xwiki.cfg using
>> > xwiki.plugin.image.defaultQuality . Default value is 0.5. Max value is
>> > 1. You can also disable the server-side image resize (kind off) from
>> > xwiki.properties, using rendering.imageDimensionsIncludedInImageURL
>> > (if image width/height are not specified in the image URL query string
>> > then the resize doesn't happen).
>> >
>> > Hope this helps,
>> > Marius
>> >
>> > On Wed, May 21, 2014 at 11:46 AM, Michael Bußler
>> > <[email protected]> wrote:
>> >> Hi,
>> >> is it possible to change the compression settings for the image plugin?
>> >> With the default settings, the quality of downscaled images is rather
>> low.
>> >>
>> >> Greetings, Michael
>> >> _______________________________________________
>> >> users mailing list
>> >> [email protected]
>> >> http://lists.xwiki.org/mailman/listinfo/users
>> > _______________________________________________
>> > users mailing list
>> > [email protected]
>> > http://lists.xwiki.org/mailman/listinfo/users
>>
>>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to