Display using .gif since it can take raw data instead of base64
Use gif for display to avoid base64 encoding