Roundcube Community Forum

 

Compose message insert image base64 encoded

Started by szistvan, December 19, 2013, 11:01:09 AM

Previous topic - Next topic

szistvan

HI!

I use the 0.9.5 version of roundcube.
Writing letters html -> image insert: should be given the URL of the image.
The recipient correspondent for the external reference is disabled. The image is not displayed. Must be enabled.

The solution: base64 encoding of the image. For example, at this address: http://webcodertools.com/imagetobase64converter
Then be inserted into the HTML source. For example: <img alt="" src="data:image/jpeg;base64,/9j/4AA...... [...]

Can be solved to avoid having to paste the image URL in the options?
Images can be inserting choose from: URL give or upload an image. Base64 encode the image uploading from automatically.

I found plugin (I do not know that it works): http://myroundcube.com/myroundcube-plugins/embed_images-plugin
Unfortunately I did not find where to download it.

The help is appreciated!

JohnDoh

Hi,

Roundcube can already use inline images. There are 3 ways to get images into HTML images.

1) as you said already, link to a remotely hosted image
2) simply drag 'n drop the image you want into the editor where you want it
3) upload the image to your message as an attachment and then select it from the "image list" option on the insert/edit images dialog
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...