add image preivew helper