bugid:101492 fixing gallery images with external links
removing unnecessary code
Merge pull request #657 from Wikia/release-158-bugid-101492

bugid:101492 fixing gallery images with external links