add new image helper and rewrite path helper