I have a component in CQ5.5 which uses the image component from libs/foundation/components. Is there a way to enforce a max height and width for images that users might try to add using this component?
May be using Image API
 http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/commons/ImageResource.html#getLay er(boolean, boolean, boolean)
 http://dev.day.com/docs/en/cq/current/javadoc/com/day/image/Layer.html#Layer(int, int, java.awt.Paint)
Retrieving data ...