[Pmwiki-users] Image sizes, alt tags, and more (was: Image display resizing problem)
Patrick R. Michaud
Tue Mar 2 08:24:24 CST 2004
On Tue, Mar 02, 2004 at 09:09:52AM -0600, Jonathan Scott Duff wrote:
> On Mon, Mar 01, 2004 at 08:32:12PM -0700, Patrick R. Michaud wrote:
> > n particular, let's make use of the query string
> > parameter on image URLs, which isn't commonly used (I'm not aware of
> > any sites that use this). Thus, one would be able to write as markup:
> > http://www.pmichaud.com/toast/ptart-1c.gif?alt=Pop_Tarts
> And this would work too?
> Hmm. What about instances where the image is generated via a program?
> Currently the conventional wisdom says to do this:
> for it to be interpretted as an image. How do we prevent the CGI from
> eating the "alt" etc. or would pmwiki "steal" those from the CGI?
PmWiki would strip the trailing ?alt=... from the "URL" in the first
place. The syntax would've been
but now looks like it will be
Either way, the true URL would be everything before the "?alt=My_Map"
or "#alt=My_Map" -- the tail parts would actually be PmWiki markup
triggered by the existence of .gif/.jpg/.png at the end of a URL
(same trigger that causes the creation of the <img ...> tag in
the first place).
More information about the pmwiki-users