Added relative path flag for image plugin