Use 'media' option instead of depricated 'path' option.