[Pmwiki-users] Image alt text

John Rankin john.rankin
Tue May 18 16:11:06 CDT 2004


Is there a way to specify a value for the alt attribute in images?

There are 3 places this would be used:

- Attach:...gif or jpg or png
- http://...gif or jpg or png
- [[link http://...gif or jpg or png]]

Votes currently give this a medium DevelopmentPriority, so I wonder 
if there's a way to do it as a local customisation.

For example, an author would write
    [http: ... |alt text] or [Attach:...|alt text]
or
    %alt=alt text%http: ... %%

The first option should be possible with a custom FmtUrlLink function.
There might also be some default behaviours, eg
    [[APageName http://...gif or jpg or png]]
could automatically use APageName as the alt text.

Has anybody done this? Is there a preferred markup option identified?
-- 
JR
--
John Rankin





More information about the pmwiki-users mailing list