adds edit to img and bg