add logic for retina images
add logic for retina images