parcelvoy / platform

Parcelvoy: Open source multi-channel marketing automation platform. Send data-driven emails, sms, push notifications and more!
https://parcelvoy.com
MIT License
244 stars 42 forks source link

[Enhancement] - How to add GIFs / WebM to emails #490

Closed tanmay-predisai closed 2 months ago

tanmay-predisai commented 2 months ago

Hello, We tried inserting a GIF into an image tag. It shows properly as a GIF on Parcelvoy. However, once the email is sent, it does not play the gif and sends a jpg file instead in the email.

Is there a way to make this work? Thank you for your help!

pushchris commented 2 months ago

We don't modify the image during the upload process or send process, it's uploaded and then the url inserted into the email. If you look at the outputted HTML for the email is the file extension changing? My guess is the inbox you are using might modify the image, but I wouldn't know without more context.

tanmay-predisai commented 2 months ago

Thank you for the revert. We figured out the problem:

  1. The images were saved as webp for optimization.
  2. Apparently, Gmail does not play webp and shows them as static files only.
  3. Tried uploading some WebM and were not supported in image upload on Parcelvoy.
  4. Uploaded GIFs and they seem to be working fine in emails / showing on gmail.

Thank you for your help.