urlencoding image keys for lightbox