You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, if the original image was already a base64 encoded src, it will not be converted to an embedded image, resulting into clients like Gmail not rendering the image.
Proposal
Add a check for when the image src starts with data:*;base64. When this is the case, embed the image anyway.
The text was updated successfully, but these errors were encountered:
Thanks again for this great library!
I would like to propose a new addition for the
attachment
method.Issue
If you send an e-mail which which contains an image in its body, it will go through the different checks as seen here:
laravel-mail-auto-embed/src/Listeners/SymfonyEmbedImages.php
Line 197 in ee17be8
However, if the original image was already a base64 encoded src, it will not be converted to an embedded image, resulting into clients like Gmail not rendering the image.
Proposal
Add a check for when the image src starts with
data:*;base64
. When this is the case, embed the image anyway.The text was updated successfully, but these errors were encountered: