Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

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
Mulongo oyo etiyamaki na archive. Tuna motuna mosusu soki osengeli na lisalisi
Eza archivé

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

futurebub

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.

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.

All Replies (13)

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.

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

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

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

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.

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

Ezalaki modifié na cor-el

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).

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.

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.

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

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

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