[mediaGallery] Added toURL() support
Merge pull request #224 from GoogleChrome/addToURL

[mediaGallery] Added toURL() support