changed image ids to classes