If you want to use this module, your options are:
- Choose another, actively maintained module instead
- File an issue in the queue with a patch to fix the module and then contact the security team to have your version reviewed and the project handed over to you following the abandoned project process.
- Hire someone to fix the security bug so the module can be re-published (see this guide on how to hire a Drupal site developer)
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.