Re: [xwiki-users] Resize images and keep aspect ratio

2010-06-24 Thread Ivan Levashew
Abel Solórzano Astorga writes: To make my question more general, What is the best way to dynamically resize images on xwiki? or set a max size for the images maintaining the aspect ratio. I have installed a PhotoAlbum application: http://photos.metrolace.ru/HubPicknick0410 Photos are big,

Re: [xwiki-users] Resize images and keep aspect ratio

2010-06-22 Thread Marius Dumitru Florea
On 06/22/2010 07:19 AM, Caleb James DeLisle wrote: If think if you specify the image width and not the height, it will scale maintaining ratio. It is scaling in the browser not on the server. [[image:myImg.png||width=800px]] You can also use the 'class' or 'style' attributes to apply CSS

Re: [xwiki-users] Resize images and keep aspect ratio

2010-06-22 Thread Abel Solórzano Astorga
Thanks for the help. I just did it and it mantains aspect ratio. On Tue, Jun 22, 2010 at 12:38 AM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: On 06/22/2010 07:19 AM, Caleb James DeLisle wrote: If think if you specify the image width and not the height, it will scale

[xwiki-users] Resize images and keep aspect ratio

2010-06-21 Thread Abel Solórzano Astorga
Hi, I am currently working with big images on my xwiki site. Is there a way to make the images auto-scale to the width of the xWiki page content if the image is too big? In order to avoid the horizontal scroll bar that appears on the page and adjust the images to the width of the xWiki page

Re: [xwiki-users] Resize images and keep aspect ratio

2010-06-21 Thread Caleb James DeLisle
If think if you specify the image width and not the height, it will scale maintaining ratio. It is scaling in the browser not on the server. [[image:myImg.png||width=800px]] Caleb Abel Solórzano Astorga wrote: Hi, I am currently working with big images on my xwiki site. Is there a way to