Bernd (b3rnd) wrote in lj_dev,

Question on displaying dynamic image

I finally wanted to follow through on my suggestion to mangle emails by displaying them as an image instead of inside a table.

The GD script to generate the image is very easy and small, but, because I know next to nothing about BML, the big question that pops into my mind is how to display that image inline.
It would be easy if the script was simply a CGI that gets passed the email-address and returns an image, but could this be done inline the userinfo.bml page, too?
I've only seen this done once in Embedded Perl.

Any ideas on this?

Update: I followed both directions, either generating an image or encoding as pure entities. The entities could now even be linked again like the unmangled address.
Anyone who wants to give it a whirl?

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded