Announcement

Collapse
No announcement yet.

System Template Images

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • murray99
    replied
    but...probably breaks something else

    Leave a comment:


  • yuri
    replied
    Will be fixed. Thanks.

    Leave a comment:


  • murray99
    replied
    It appears that Htmlizer is doing 2 things:
    1. changing ?entryPoint=attachment&amp 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&amp

    The in subsequent processing by sender.php line 559 looks for ?entryPoint=attachment&amp adn converts these to inline attachments for the email.

    Net result.....image embedded in email

    Leave a comment:


  • murray99
    replied
    "Also the login seems" = "Also the LOGIC seems"

    Leave a comment:


  • murray99
    started a topic System Template Images

    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
Working...
X