Join Chris Converse for an in-depth discussion in this video Encoding and embedding Base64 images, part of Creating a Responsive HTML Email.
…Now, another way that we can specify graphics and…embed them into HTML is to URI encode our images.…This basically means we're going to specify the graphics as ASCII code.…Now, to explain what I mean by this, typically we have web graphics,…which are actual binary files on our computer, like a GIF or a JPEG.…But we can also specify the same graphics using ASCII code.…So if I were to zoom up on this a little…bit we can see a little bit of what the code might…look like.…It's this pattern of text, which is encoded in a Base64 format…which can then be turned back into a graphic in our page.…
Now typically with graphics we specify these in a HTML tag.…We have an image tag with the source equalling the actual file name.…To make use of Base64 code, we'll still use an image tag, but the…source here is going to equal, data colon, then we're going to give it a name,…logo_large.gif.…Specify Base64 and then have all of the code that's representing that graphic.…Now, in order to create Base64 images, we can use a…series of online tools, or some text editors might have built-in plugins.…
This course was created and produced by Chris Converse. We are honored to host this content in our library.
- Creating the graphics
- Setting up the base layout structure
- Styling the table rows for the headline, banner, etc.
- Creating buttons
- Adding CSS media queries
- Styling the content
- Incorporating animation and web fonts
- Validating your code
- Testing in various email clients
Skill Level Beginner
Q: What are the sizes of the images used in this course?
<div>A: The sizes are: </div><div> </div><div>Large: 638x180 </div><div>Medium: 478x150 </div><div>Small: 510x115</div>
Q: This course was updated on 11/26/2013. What changed?
A: We added two new movies to Chapter 5, "Adding HTML5 video into HTML email" and "Encoding and embedding base64 images."
Q: This course was updated on 12/03/2014. What changed?
A: We added one bonus movie, "Using high-definition graphics in your HTML email."