Announcement
Collapse
No announcement yet.
System Template Images
Collapse
X
-
It appears that Htmlizer is doing 2 things:
1. changing ?entryPoint=attachment& to ?entryPoint=attachment&
2. changing ?entryPoint=attachment&id=xyz to data/upload/xyz
I ended up creating my own HtmlizerFactory to load my own Htmlizer using binding.php
Then when htmlizer->render is called I call parent->render and then undo the changes by replacing data/upload/ with ?entryPoint=attachment&
The in subsequent processing by sender.php line 559 looks for ?entryPoint=attachment& adn converts these to inline attachments for the email.
Net result.....image embedded in email
Leave a comment:
-
System Template Images
I'm trying to add an image to the "Password Change Link" message but HtmlIzer.php seems to be taking any urls like ?endPoint=attachment and changes them to a broken link of the form:
src="data/upload/..." is this by design? Also the login seems to get triggered when $this->entityManager !=null which seems true all the time?
Am i missing something here? How do a get an image into the email? Is the only way to have a none ?endpoint based image?
Thanks
Leave a comment: