rids image insertion