I was a bit surprised that this wasn't mentioned before. Some mail clients (Outlook 2007/2010) don't support floats. This is inconvenient for images that you want to wrap text around. The oldschool align=left/right will work, but that option is not present in modern wysiwyg's. So if you want to send an e-mail from your site (e.g. Simplenews) this conversion could really help users.
Could there be an option to convert floated images to align=left/right? So they work in Outlook etc..
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | mimemail.code_.1852694-5.patch | 812 bytes | clemens.tolboom |
Comments
Comment #1
hanno commentedbump. Experience this problem at a client today. Would be a great feature.
http://www.sitepoint.com/forums/showthread.php?776589-Is-there-any-alter...
Comment #2
hanno commentedOK, I'm now testing if this works for the client:
after line 140 mimemail_compress.inc after '$node->setAttribute('style', $style);'
Comment #3
hanno commentedWell, that works, but there is no margin around the image and the text. I'm adding vspace and hspace attributes for img, that will hopefully help.
Comment #4
sgabe commentedLet me know if you have a working solution and a patch to commit.
Comment #5
clemens.tolboomComment #6
sgabe commentedCommitted to both branches, thanks!