Question

Is there a way that could convert all mailto:example@exapmle.com email links in a html page to images showing same content/email address (I didn't have reputation to post images, an example image ). I knew some website provide such kind of service, but it could be done one by one. I have a webpage have many email links, so want to ask a better or smarter way to do that.

Any response would be appreciated. Thanks.

Was it helpful?

Solution

Yes. One way to do this is using PHP. Basically, what you are describing is writing text to an image. This can be done using the PHP imagettftext() function. See http://php.net/manual/en/function.imagettftext.php for more info.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top