Add retina display support

This adds optional retina display support for the gallery images.