Vyhľadajte odpoveď

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

When I embed a jpeg into an email, it comes through as a bunch of numbers

  • 13 odpovedí
  • 1 má tento problém
  • 82 zobrazení
  • Posledná odpoveď od futurebub

more options

I converted a pdf to a jpeg and sent it to several people. It came through as lines and lines of numbers. I sent it from gmail to a variety of users. It looked fine when I sent it, but showed up that way in my sent mail and in other accounts.

Všetky odpovede (13)

more options

Sounds that Firefox gets the file with the wrong content type for an image and displays the binary file data as text/plain or text/html instead showing the image.

more options

Your answer is much too technical. I need a simple explanation in plain English not computerese, but thanks for trying...

more options

Does it work if you save that page with the numbers as an image by giving it a .jpg file extension?

more options

The image I embed already has is saved as a jpeg. It still comes through as numbers.

more options

I meant .jpg

more options

Is that a binary file or an ASCII file with base64 encoding?

Can you attach a screenshot that shows the beginning of the file in Firefox?

Use a compressed image type like PNG or JPG to save the screenshot.

more options
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAlgCWAAD/4gogSUNDX1BST0ZJTEUAAQEAAAoQAAAAAAIQAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tUAAQAAAADTLAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAApkZXNjAAAA/AAAAHxjcHJ0AAABeAAAACh3dHB0AAABoAAAABRia3B0AAABtAAAABRyWFlaAAAByAAAABRnWFlaAAAB3AAAABRiWFlaAAAB8AAAABRyVFJDAAACBAAACAxnVFJDAAACBAAACAxiVFJDAAACBAAACAxkZXNjAAAAAAAAACJBcnRpZmV4IFNvZnR3YXJlIHNSR0IgSUNDIFByb2ZpbGUAAAAAAAAAAAAAACJBcnRpZmV4IFNvZnR3YXJlIHNSR0IgSUNDIFByb2ZpbGUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAdGV4dAAAAABDb3B5cmlnaHQgQXJ0aWZleCBTb2Z0d2FyZSAyMDExAFhZWiAAAAAAAADzUQABAAAAARbMWFlaIAAAAAAAAAAAAAAAAAAAAABYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9jdXJ2AAAAAAAABAAAAAAFAAoADwAUABkAHgAjACgALQAyADcAOwBAAEUASgBPAFQAWQBeAGMAaABtAHIAdwB8AIEAhgCLAJAAlQCaAJ8ApACpAK4AsgC3ALwAwQDGAMsA0ADVANsA4ADlAOsA8AD2APsBAQEHAQ0BEwEZAR8BJQErATIBOAE+AUUBTAFSAVkBYAFnAW4BdQF8AYMBiwGSAZoBoQGpAbEBuQHBAckB0QHZAeEB6QHyAfoCAwIMAhQCHQImAi8COAJBAk

Upravil(a) cor-el dňa

more options

That is a bas64 encoded image.
You can paste the complete code between the quotes starting with data:image/jpeg;base64, in the location bar to see the image in a tab and save that image in the usual way (right-click: Save Image As or Save Page As).

more options

I tried that and received a "problem loading page" message. I'm not sure if I did what you wanted me to do. Thanks for trying. I will just stick with attaching pdf's.

more options

Did you copy and paste the full content of the src attribute?

This if definitely a JPG image with a JFIF header.
Firefox also uses this data URI in the search plugins stored in the browser\searchplugins folder in the Firefox program folder.

more options

When I went to the message, it was truncated so I clicked on see full message, but it wouldn't display

more options

In order to send files (like pictures, text processor documents or programs), one has to convert them to plain text first and then send the result of the conversion in the body of an email message. The recipient has to extract the text from the message and convert it to the binary file format again. This is a cumbersome process, and before MIME(multipurpose Internet mail extention) it all had to be done by hand.

MIME corrects this problem and it makes it possible to use international characters in email messages, too. And in ur case this conversion mallfunctioned. Hence you got the problem.

Cheers

more options

Thanks. I guess I won't be sending those again. Its simpler to do attachments.