Added possibiliy to preload image and load retina images