added media regenerate task
fix linked images