This project is not covered by Drupal’s security advisory policy.

This module is abandoned due to a security issue the maintainer didn’t fix. See SA-CONTRIB-2013-011 - email2image - Access Bypass - Unsupported for details.

If you want to use this module, your options are:

This module creates an image of a user's email address given the uid. It can be used in views, for example, to list users' email addresses as images instead of plain text, which can be picked up by bots for spamming.

The email2image module offers a way to convert users' email addresses to images on the fly. The image of the user's email address will be at <base_path>email2image/<uid> (e.g. http://yoursite.com/email2image/1). To use in views, make sure uid is a field of the view so we can use it as a replacement pattern. Then add another field, check "Rewrite the output of this field" and add the following as the replacement content:

<img src="/email2image/[uid]" />

You might also want to choose no link in the "link this field" section.

New Feature: Now works for any node

No longer does the module require the email addresses to be from users. The module now requires the email module for cck. By leveraging this module, you can now get an image of an email address from any node that you have added an email field to. You do this in a similar way to users (which is still supported).

Use in views:
Make sure nid is a field of the view so we can use it as a replacement pattern. Then add another field, check "Rewrite the output of this field" and add the following as the replacement content:

<img src="/email2image/node/[nid]" />

It is as simple as that.

Project information

Releases