Live data from Hacker News

Goodbye Outlook - Gmail now lets you paste images directly from clipboard

beerpla.net

11–20 of 39 posts

Re: Goodbye Outlook - Gmail now lets you paste images directly from clipboard

#11
post #7

This has been a Gmail Labs for a long while... I have it enabled for all 3 of my gmail accounts for a while now.

Has it? I've specifically checked for it on a number of occasions. I've seen the ability to drag and drop images there, but not paste a screenshot from clipboard.

Re: Goodbye Outlook - Gmail now lets you paste images directly from clipboard

#12
Native e-mail clients still have the advantage of working with any e-mail server, including those that don't serve ads based on analyzing my e-mails.

The whole local e-mail folder can be backed up to your favourite online backup if you feel that it's not safe to keep just a local copy.

Re: Goodbye Outlook - Gmail now lets you paste images directly from clipboard

#13

Earlier quoted context omitted.

I didn't for me. Looking in my sent box the message had an inline stream rather than an attachment: <img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/7QAcUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAD/2wBDAAMCAgICAgMCAgIDAwMDBAcEBAQEBAgGBgUHCgkKCg...

Works fine here on both chrome 12 and ff4 on ubuntu.

Can you verify it actually works on the recipient side? I actually just tried send it out and found that the email actually ate up the image and it was not showing up.

I may have jumped the gun here...

Re: Goodbye Outlook - Gmail now lets you paste images directly from clipboard

#15
post #5

Can someone here confirm this is actually working for them? (Paste an image from the clipboard, send the email, check that the inline image was actually attached) It appears to me that FF4 is merely displaying the clipboard image in the rteditor in draft mode, but it is not actually attached to the email when sent.

I didn't for me. Looking in my sent box the message had an inline stream rather than an attachment: <img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/7QAcUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAD/2wBDAAMCAgICAgMCAgIDAwMDBAcEBAQEBAgGBgUHCgkKCg...

Same here. Looking at the email source the MIME looks like it should work, but for some reason clients aren't interpreting it as HTML.

  Content-Type: multipart/alternative; boundary=000e0cd3282edb3e4e04a04d2812
  
  --000e0cd3282edb3e4e04a04d2812
  Content-Type: text/plain; charset=ISO-8859-1
  
  
  
  --000e0cd3282edb3e4e04a04d2812
  Content-Type: text/html; charset=ISO-8859-1
  Content-Transfer-Encoding: quoted-printable
  
  

Re: Goodbye Outlook - Gmail now lets you paste images directly from clipboard

#16
post #15

Earlier quoted context omitted.

I didn't for me. Looking in my sent box the message had an inline stream rather than an attachment: <img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/7QAcUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAD/2wBDAAMCAgICAgMCAgIDAwMDBAcEBAQEBAgGBgUHCgkKCg...

Same here. Looking at the email source the MIME looks like it should work, but for some reason clients aren't interpreting it as HTML. Content-Type: multipart/alternative; boundary=000e0cd3282edb3e4e04a04d2812 --000e0cd3282edb3e4e04a04d2812 Content-Type: text/plain; charset=ISO-8859-1 --000e0cd3282edb3e4e04a04d2812 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

I just posted an update with some findings - basically, those "3D" and =\r\n characters that something is adding (somewhere in Gmail) are messing everything up. We're this close to a working version of this...

Re: Goodbye Outlook - Gmail now lets you paste images directly from clipboard

#17
post #5

Can someone here confirm this is actually working for them? (Paste an image from the clipboard, send the email, check that the inline image was actually attached) It appears to me that FF4 is merely displaying the clipboard image in the rteditor in draft mode, but it is not actually attached to the email when sent.

I didn't for me. Looking in my sent box the message had an inline stream rather than an attachment: <img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/7QAcUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAD/2wBDAAMCAgICAgMCAgIDAwMDBAcEBAQEBAgGBgUHCgkKCg...

That is actually a correct way of creating an image inline and should work, but Gmail or something in Firefox is adding extra characters into the mix and messing everything up. See the update in the article.

Re: Goodbye Outlook - Gmail now lets you paste images directly from clipboard

#18
post #11
post #7

This has been a Gmail Labs for a long while... I have it enabled for all 3 of my gmail accounts for a while now.

Has it? I've specifically checked for it on a number of occasions. I've seen the ability to drag and drop images there, but not paste a screenshot from clipboard.

There is no labs project like that. You're correct - I've been also checking for ages.

Re: Goodbye Outlook - Gmail now lets you paste images directly from clipboard

#19
post #15

Earlier quoted context omitted.

Same here. Looking at the email source the MIME looks like it should work, but for some reason clients aren't interpreting it as HTML. Content-Type: multipart/alternative; boundary=000e0cd3282edb3e4e04a04d2812 --000e0cd3282edb3e4e04a04d2812 Content-Type: text/plain; charset=ISO-8859-1 --000e0cd3282edb3e4e04a04d2812 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

I just posted an update with some findings - basically, those "3D" and =\r\n characters that something is adding (somewhere in Gmail) are messing everything up. We're this close to a working version of this...

Oh yea, I didn't notice that 3D. It's weird because ascii 3D is just an = sign.

Re: Goodbye Outlook - Gmail now lets you paste images directly from clipboard

#20
Are you sure this is a Gmail feature and not a Firefox feature? I have been able to paste images into RTEs (rich text editors) since Firefox 3. If the image comes from the clipboard, Firefox will add the image data inline. It works in all RTEs I use - e.g. http://ckeditor.com/demo , http://demos.telerik.com/aspnet-ajax/editor/examples/default...

Since the src of the image is inline, you can save/send it as part of the HTML output of the editor - no attachments or separate upload is needed.

Post reply on HN