add preview for uploads