calling aspectRatios on img load, optimizing mobile images