change css for img preview