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
Replace image urls by cid urls when composing/sending a message #4988
Comments
Comment by rosali on 10 Jul 2009 09:21 UTC see: http://www.roundcubeforum.net/release-discussion/4982-how-send-signatures-images-mail.html |
Comment by @thomascube on 10 Jul 2009 11:23 UTC It's possible to embed images with the HTML editor. Attached images should be selectable there. Or do you mean that RoundCube should fetch images linked by URL and embed them in the message? |
Comment by rosali on 10 Jul 2009 12:16 UTC Replying to thomasb:
Yes, that's what I mean. |
Comment by @thomascube on 10 Jul 2009 13:44 UTC Well, this may delay the sending for several seconds because fetching images via http could take its time... |
Comment by rosali on 10 Jul 2009 14:54 UTC Replying to rosali:
Optional? IMO this would be a great feature. |
Comment by Gl0ubI on 10 Jul 2009 15:50 UTC Maybe a suggestion : why don't activate image button on tool bar in the prfrence pane ? [[Image(http://gl0ubi.free.fr/signature_html.png)]] Images will be stored on server where RoundCube is installed, so no more problem to get it ? no ? |
Comment by Cooldown on 11 Oct 2010 11:15 UTC [ Placeholder for "How to implement a signature image via identity edit tab" ] I'll complete the placeholder text for this later .. i lost the whole text after clicking on "attach file" :/ Regards, Cooldown |
Comment by Cooldown on 11 Oct 2010 12:03 UTC How to: "Replace image urls by cid urls when composing/sending a message"
with
after
And you are done. Additional Notes
Note: Sometimes the select box of ibrowser will not show uploaded images on startup (first click on "insert button"). I suppose this is currently a bug, cause the select box will only refresh the underlying file box onChange. Maybe this could be fixed later. If you have another way to implement this, feel free to shout it out loud ^^ Maybe this could be implemented as a Plugin later? If yes, then the user_id should be changeable via a hook/or config, so that users will not be restricted to roundcube user_ids. Regards, Cooldown PS: Sorry for the double post. But i didn't know that attaching a file will kill my current post. |
Comment by Silencer on 1 Feb 2011 17:15 UTC People are still requesting this (in the above mentioned forum thread). In the meantime, the user langejan advised to "put the image for your signature(s) in the tinymce's emoticons folder. Roundcube will automatically turn this into cid: attachments. This way you don't have to edit files.". |
Comment by rosali on 2 Feb 2011 06:05 UTC I think this feature could be implemented by using the function 'rcmail_fix_emoticon_paths'. |
Comment by cebe on 8 Feb 2012 10:18 UTC Why this very classic feature is set to "later" ? If needed, just limit image size to 10 or 20 ko. |
Comment by oliverfoster on 24 Aug 2012 22:42 UTC Replying to rosali:
I have a solution to images which are directly copied and pasted into the editor (i.e. screen-print and paste, or copy image from one browser window onto a composing email). It is messy but it makes a point that this feature is possible and simple. This code should be added to the top of the send_mail function in program/include/rcube_smtp.php: function images_hack(&$body,&$headers) {
|
Comment by @alecpl on 11 Dec 2012 19:11 UTC Actually data URIs are replaced with CID-images in git-master version, however two requests are still valid:
|
So, at the moment it looks that the last thing is attaching external images. I'm not a big fan of this feature. It is possible to write a plugin. Closing. |
Reported by rosali on 9 Jul 2009 12:28 UTC as Trac ticket #1485968
I'd like to see a feature to embed images as cid url attachments.
Something like here:
http://www.phpeveryday.com/articles/PHP-Email-Using-Embedded-Images-in-HTML-Email-P113.html
Migrated-From: http://trac.roundcube.net/ticket/1485968
The text was updated successfully, but these errors were encountered: