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

Unable to display images in email #196

Open
djtechonline opened this issue Jan 30, 2020 · 2 comments
Open

Unable to display images in email #196

djtechonline opened this issue Jan 30, 2020 · 2 comments

Comments

@djtechonline
Copy link

I'm using CssToInlineStyles to generate a webpage as an email. The email is formatted correctly however it does not display any images. When I preview the same page in a browser, the image is fine. The path to the image is the full URL, so I am not sure why the image is not being embedded. Is there anything I need to do to make sure that the images can be included in the email page? Please advise.

@stof
Copy link
Collaborator

stof commented Jan 31, 2020

CssToInlineStyles does nothing with images. It only takes styles from CSS rules and applies them in style attributes

@burithetech
Copy link

burithetech commented Aug 3, 2020

@stof It's not fully true. We have variables in e-mail templates and when I will put src="*|VARIABLE_IMAGE_SRC|*" I will get: src="*%7CVARIABLE_IMAGE_SRC%7C*" and I can't force it to put | there. But I don't know if this is @djtechonline 's issue.

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

No branches or pull requests

3 participants