add img and media to app template