replace rects with images + background img