Adding css for img previews