Novice module can open images from a url #797

I am using a regex to check if the given path is a url.