Fix error when opening linked image in new tab if the link is already an absolute url

Change-Id: I6025279af4029dbe7f50ec1a34e76ef29d3cdecc