Shrink an image

Use this Forum to post your “How to …” questions about your use of aXes. This is not a technical support forum. Both the aXes Support Team at LANSA and other aXes customers may answer your questions. LANSA cannot guarantee the accuracy of any information posted by customers.

Moderator: jeanmichel

Post Reply
WayneP
Posts: 14
Joined: 16 Mar 2016, 02:54

Shrink an image

Post by WayneP » 30 Jun 2016, 03:30

So I want to add our logo to our screens, the image I have is way too big. Is there a way in aXes to shrink an image? Seems like I should be able to do that like any other field, but it doesn't work. Obviously I can make the image smaller outside of aXes, but I really don't want to do that with every image I have to use.

User avatar
jeanmichel
Posts: 109
Joined: 23 May 2014, 11:37
Location: Sydney

Re: Shrink an image

Post by jeanmichel » 11 Jul 2016, 10:27

Hi Wayne,

When you add an image extension, you can set it's style property (not the basic style property) to:

If you want to it to fit the width
max-width: 100%

if you want it to fit the height:
max-height: 100%
Regards,

Jean-Michel Rapin

LANSA Pty Ltd
email: JeanMichel.Rapin@lansa.com.au
Address: 122 Arthur Street, North Sydney, NSW 2060, Australia
Tel: +61 289 070 262 http://www.lansa.com | http://blog.lansa.com |

Post Reply