[Pmwiki-users] Image sizes, alt tags, and more (was: Image display resizing problem)
Mon Mar 1 23:27:16 CST 2004
>I know there are other attributes available for <img...>
>but I don't think they're common enough to be concerned with.
If you allow all the common ones, some people might think that any
attributes are supported. However, documentation can outline which
attributes will work and which won't.
>So, a query string that contained something other than the attributes
>listed above wouldn't be processed in this manner.
How would it handle "?primary=foo&alt=bar" ? Treat it as a query string?
Ignore the unrecognised attributes? Or do half and half, like:
<img src="image.gif?primary=foo" alt="bar">
>Would you still prefer #height=20&alt=Pop_Tarts over ?height=20&alt=Pop_Tarts
>given the change I proposed above?
Yes, unless there is some reason you have in mind for preferring ? over
#. If there is a reason, ? is fine. If not, you could use # and users get
the added advantage that they can use both a query string and specify
attributes without too much confusion as to how it will be handled.
More information about the pmwiki-users