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.
Downloads
Project Information
- Maintenance status: Actively maintained
- Development status: Maintenance fixes only
- Module categories: Content Display, Mail, Security
- Reported installs: 20 sites currently report using this module. View usage statistics.
- Last modified: October 29, 2010