Add component for image preview.