added api fuctionality for getting all img urls from presId