Added ability to add custom URL to image in gallery