change data of file and image cards to URL+status