Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML Mail template images #40678

Closed
brianteeman opened this issue May 29, 2023 · 1 comment
Closed

HTML Mail template images #40678

brianteeman opened this issue May 29, 2023 · 1 comment

Comments

@brianteeman
Copy link
Contributor

brianteeman commented May 29, 2023

When sending html mails created with com_mails it is possible to include images.

The function convertRelativeToAbsoluteUrls ensures that the images have absolute references so that they will be loaded in the email.

However if the image has been added to the email using the media manager it will include loading="lazy" and data-path=

This is not supported by many email clients so as well as converting to relative urls we should also be using the function cleanImageURL to ensure greater compatibility

Reference

https://www.caniemail.com/search/?s=loading

@brianteeman
Copy link
Contributor Author

closed see #42448

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants