[thelist] Hex encode images for HTML emails — how?

Dave Land land at aol.com
Thu Jun 11 14:06:10 CDT 2009


On Jun 11, 2009, at 8:00 AM, Barney Carroll wrote:

Check out this tool, which converts images to data: URIs:

     http://www.scalora.org/projects/uriencoder/

That's a way to get images into an email and get around people who  
filter
images in emails.

Dave

> Hello list,
>
> I'm building a short-run HTML email campaign for a client. Because  
> they
> don't know where to host the source files, and I find the idea of  
> dependency
> on hosting and absolute refs for an email generally cumbersome  
> (everything's
> better self-contained, right?), I was wanting to hex-encode the  
> image code
> into the markup.
>
> I first bumped into the technique when perusing John Hicks' Firefox  
> Stylish
> extension skin for Google Reader — which included new graphics that  
> were
> hard-coded into the CSS — which is a nice piece of work for all  
> sorts of
> other reasons as well: http://hicksdesign.co.uk/journal/google-reader-theme
>
> I've tried Googling tools and methods for this in the past but never  
> got any
> comprehensive resources/info on the matter (and besides it's never  
> been
> absolutely essential) — specifically I haven't found:
>
>   1. A tool that will convert an image file to hex string.
>   2. The requisite syntax for inserting hex strings into HTML img src
>   attributes.
>
> Does anybody have any experience of this? I'd really appreciate it  
> if I
> could get some specific resources rather than a convenient search  
> string
> appended to a humiliating lmgtfy.com URL :)
>
>
> Regards,
> Barney Carroll
> Web designer & front-end developer
>
> web: www.clickwork.net
>
> mobile: +44 (0) 7594 506 381
> home: +44 (0) 118 975 0020
>
> twitter: @barneycarroll
> -- 
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !



More information about the thelist mailing list