Results 1 to 13 of 13
  1. #1

    How do I turn my email address into an image?

    I started to receive a lot of spam recently from my question site and a friend suggested me that is because I have my email address listed in plain text on my contact page, and that I should turn it into an image instead. How do I turn my email address into an image?

  2. #2
    Join Date
    Aug 2008
    Location
    Vancouver, Canada
    Posts
    650
    It is fairly easy. Just open MS Paint and write the email in their and save it as a .jpg or .png. Then upload that to your website and use the <img> tag.

    Also, this is in the wrong forum.
    Tailored VPS offers fully customizable VPS Hosting
    Powered by OpenVZ | Servers located in the USA | 99.9% Uptime

  3. #3
    Join Date
    Nov 2007
    Location
    Dallas, TX
    Posts
    8,944
    Moderators, would you mind moving this to another forum?

    Thanks!

    -mike
    Mike G. - Limestone Networks - Account Specialist
    Cloud - Dedicated - Colocation - Premium Network - Passionate Support
    DDoS Protection Available - Reseller Program @LimestoneInc - 877.586.0555

  4. #4
    Join Date
    Oct 2002
    Posts
    5,177
    Thread moved
    If you have to operate your company behind the scenes or under a fake name, maybe it's time to leave the industry and start something fresh.

  5. #5
    Join Date
    May 2007
    Posts
    73
    Code:
    <a href="mailto:[email protected]" title="mailto link"><img src="www.imageshack.com/whatever" alt="mailto"></a>
    Here is the syntax.

    1. <a href mailto tag = your email
    2. <img src = picture URL
    OC Web Gurus Check Us Out!
    Reliable Hosting | Truly Amazing Designs
    We are a proud member of WHT community since 2007!

  6. #6
    Join Date
    May 2007
    Posts
    73
    Also, since you said you were receiving spam, this wont stop it. It may cut it down but it won't stop. The best way to ensure you wont get spam is to encrypt your mailto links. You really should check out this guy Rob Spangler's neat encryption generator.

    http://www.robspangler.com/blog/encr...op-email-spam/
    OC Web Gurus Check Us Out!
    Reliable Hosting | Truly Amazing Designs
    We are a proud member of WHT community since 2007!

  7. #7
    Join Date
    Dec 2002
    Posts
    374
    They can still read the source code using that method and pull out the email address with an automated script. You will be better off setting up a contact form using captcha.

  8. #8
    Join Date
    May 2007
    Posts
    73
    Quote Originally Posted by XSV View Post
    They can still read the source code using that method and pull out the email address with an automated script. You will be better off setting up a contact form using captcha.
    Yeah that's why i gave him the link to the encrypt gen. Well because your right, all those "bots/crawlers" do is look at the source so having an image displaying your email address is not the correct way to go about it.
    OC Web Gurus Check Us Out!
    Reliable Hosting | Truly Amazing Designs
    We are a proud member of WHT community since 2007!

  9. #9
    Quote Originally Posted by ocwebguru View Post
    Yeah that's why i gave him the link to the encrypt gen. Well because your right, all those "bots/crawlers" do is look at the source so having an image displaying your email address is not the correct way to go about it.

    Most of the bots/crawlers only look for [email protected] or whatever follows "mailto:"

    They will stop dead on javascript of any kind, such as

    Code:
    <a href="" title=contact" onclick="this.href=somefunction();return(true);">
    somefunction() can be just about anything, including referencing document.url to extract the domain name.

    An alternative is to just use the jpeg, and let the user type it into their email client.
    edgedirector.com
    managed dns global failover and load balance (gslb)
    exactstate.com
    uptime report for webhostingtalk.com

  10. #10
    Join Date
    Oct 2006
    Location
    Salt Lake City, UT
    Posts
    849
    Quote Originally Posted by XSV View Post
    They can still read the source code using that method and pull out the email address with an automated script. You will be better off setting up a contact form using captcha.
    This is the best way to prevent spam, but I personally feel it can be a hassle for those genuinely trying to contact you, so for now we just filer a great deal of spam out.

    I daydreamed today that they passed a federal law that spamming will be punishable by death
    | | i write code

  11. #11

    *

    Simply use MS Paint and write your email add there, before saving decrease size of your canvas working area according to the width and height of your email add. Save it as jpg file and use <img> tag to call it in your html pages.
    --------------------------------------
    Sunny - www.CraftsVision.com
    --------------------------------------
    We burn midnight oil and present you hand crafted websites.

  12. #12
    I know this might be a bit redundant but the worst thing to do in a case like this is to post a mailto: link.

    There is a little PHP workaround that might help out :

    Code:
    <?php
    
    $email = "[email protected]";
    
    header("Location:mailto:".$email);
    
    ?>
    change the email address, save this code to a php file (in my case mailto.php) and link to it.. By hard coding the email address, you hide it from the spambots that roams around..

    Hope it helped you..

  13. #13
    Join Date
    Dec 2007
    Location
    UK
    Posts
    948
    Just use an image and name the image somethink like hello.png. Don't add your address anywhere in the source. Simple.
    The best method is to use form, to simplfy things, and if your using WHMCS you can use there source from the pre-sales contact form.
    Follow me on Twitter: @conrjac

Similar Threads

  1. Replies: 7
    Last Post: 11-04-2006, 06:31 PM
  2. [TURN-KEY] Customized Image Hosting Site
    By interactive in forum Other Offers & Requests
    Replies: 6
    Last Post: 01-01-2005, 10:13 PM
  3. Replies: 6
    Last Post: 05-26-2004, 08:02 AM
  4. Turn off premium member image now available.
    By bayouhost_tonya in forum WebHostingTalk Subscribers Club
    Replies: 20
    Last Post: 05-05-2004, 12:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •