added a safety measure to correctly downscale oversized images to fit into  the 16MB requirements.
added a safety measure to correctly downscale oversized images to fit into  the 16MB requirements.

StackableRegiments/analyticalmetlx,StackableRegiments/analyticalmetlx,StackableRegiments/analyticalmetlx,StackableRegiments/analyticalmetlx