Changed image names to id's