Add img and selected attributes to policy