"Mike Eheler" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Beyond that, why not keep it conforming to HTML, and use an <IMG> tag,
> for example:
>
> This is some text <img src="name.jpg" alt="Alt Text" processat="server">.
>
> That way if you need to view the page "as-is" in a browser or whatever,
> it'd still look fine.. go grab yourself some good free html parser code,
> and analyse the options. If processat="server" then do your thing, and
> re-write the <img> tag. :)

    I think I want something more simple. The idea is to let
    the machine do all of the dirty work, not just in looking up
    the image size, but also formatting the output.

    For example, I'm already using functions like:
        emitlink("http://www.microsoft.com","Microsoft";);
    so I will have a similar function:
        emitimg("bird.gif","this is a bird");
    that will do all of the <IMG> stuff, not just some of it.

--
John A. Grant  * I speak only for myself *  (remove 'z' to reply)
Radiation Geophysics, Geological Survey of Canada, Ottawa
If you followup, please do NOT e-mail me a copy: I will read it here





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to