Email Imager - Convert your email addresses to images

Using images to show your email address instead of text will help to guard it from worms. These are dynamically created images using a normal HTML image tag.
e.g.: Email me at .
Make sure not to link to it using an anchor tag and mailto: as this will still give robots a textual address to find and spam.

Edit the form below to create your image. To download it, right-click and choose Save as...
image preview
email
fontpt
color
background-color
lines

Download Email Imager: without ecryption | with encryption

How to use the php script on your dynamic site

Download the script from the link above. You will need to add your own fonts.

Use image tags as you normally would in HTML and point the src attribute to the php file along with some variables that will determine its content, font, size, and color.

e.g.:  <img src="images/email_image.php?e=me@domain.com&f=arial&fs=12&c=0066cc&bc=ffffff" />
produces: note: you can change the domain in the php file.

Accepted Variables

enc =  encryption     Pass encrypted variables to the script, see below
e   =  email     Full email address
f   =  font     Name of a font file in the same directory as email_image.php (arial is default)
fs  =  font-size     integer, in points
c   =  color (text)     Accepts HTML color codes (336699) or rgb value separated by commas (51,102,153)
bc  =  background-color     Accepts HTML color codes (336699) or rgb value separated by commas (51,102,153)
l   =  draw lines across image     Accepts color codes just as the above or set to 'true' to use background-color
using lines:

Using Encryption

You can take the protection of your email address one step further by encrypting the entire variable string and pass it as one value. Encryption is necessary if you want to pass the full email address to the script rather than just the alias.
Your page that calls the script must also be PHP in order to work and don't forget to include the functions (email_imager_func.php) and set your key ($key = makeRandomString(8);). Simply pass all your variables to the encrypt() function along with a randomly generated key.

e.g.:  ?enc=<?=encrypt('e=encrypted@domain.com&f=arial&fs=12&c=0066cc&bc=ffffff',$key)?>&k=mxupnsht 

your source code will show the encryption:
?enc=7cZsH7bC%2BH%2FnIaUhBdgIBPp2E4LzVbSw30F%2Bi586v3eQhcGoO15LX3Lvk7Wxsyx7c6PVuFyS4ikr3Ptv92n%2F&k=mxupnsht 
produces: