Submit the auto resized image component.

Auto Scaled Image is a component that can easily resize/rescale an image using Sling request selectors while preserving the origin aspect ratio.
There are 2 possible ways to use it.
1.	Inheriting this component or using it as your image component instead of using /libs/foundation/components/image component.
2.	If your image component does not want to inherit this component, you can copy the img_GET.java file to your component.
Note: 1) If using the 2nd way above,you need modified the first line of img_GET.java file to change class package to the component path. 
         2). If you need to render large image (width or height > 1024), Please modify the constants MAX_HEIGHT/MAX_WIDTH in the img_GET.java file.

How to Refer to an resized image
In short, using’.img.XXX.YYY.’as the image request selectors where XXX represents new width number and YYY represents new height ones. For example,
There are an image node in /content/geometrixx-outdoors/en/men/shirts/ashanti/jcr:content/par/product/image, whose sling:resourceType is ‘acs-commons/components/content/image’.

![image](https://f.cloud.github.com/assets/4326886/1907230/ff6b440c-7cc4-11e3-8de6-3244578b4676.png)
The node referred to winter.jpg image whose original size is 926x386.
a) If using content/geometrixx-outdoors/en/men/shirts/ashanti/jcr:content/par/product/image.img.200.200.jpg to address the image, the response is as below:

![image](https://f.cloud.github.com/assets/4326886/1907231/0e6d5972-7cc5-11e3-81bd-c0483963e0d0.png)

The image is first resized to 480x200 and then cropped to a 200x200 square at the center, and keeping the original aspect ratio.
b) If using content/geometrixx-outdoors/en/men/shirts/ashanti/jcr:content/par/product/image.img.0.200.jpg or content/geometrixx-outdoors/en/men/shirts/ashanti/jcr:content/par/product/image.img.480.0.jpg to address the image, the response is as below:
![image](https://f.cloud.github.com/assets/4326886/1907233/223deae8-7cc5-11e3-97dc-ba5fe1e078ca.png)
The image is resized to 480x200 with the aspect ratio kept.

c) If no size selectors are specified, the original image is rendered.
/content/geometrixxoutdoors/en/men/shirts/ashanti/jcr:content/par/product/image.img.jpg
![image](https://f.cloud.github.com/assets/4326886/1907236/362f5d70-7cc5-11e3-8cb4-e1ddc1d403f4.png)