Page 1 of 1

Shrink an image

Posted: 30 Jun 2016, 03:30
by WayneP
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.

Re: Shrink an image

Posted: 11 Jul 2016, 10:27
by jeanmichel
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%