Only write out first image