adding alternate var for resized image, load original once; multiple image processing, splitting formats for android and ios