Táto téma bola archivovaná. Ak potrebujete pomôcť, založte prosím novú otázku.
When I embed a jpeg into an email, it comes through as a bunch of numbers
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)
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.
I meant .jpg
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.
Upravil(a) cor-el dňa
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.
Thanks. I guess I won't be sending those again. Its simpler to do attachments.