Rewrites a given value of a resource to an image URL and displays this image in a module