[Pmwiki-users] Image sizes, alt tags, and more (was: Image display resizing problem)

John Feezell JohnFeezell
Thu Mar 4 09:20:16 CST 2004


On Thu, 4 Mar 2004 14:51:29 +0100, Thomas -Balu- Walter 
<list+pmwiki-users at b-a-l-u.de> wrote:

> On Thu, Mar 04, 2004 at 07:04:51PM +1300, Robin Sheat wrote:
>> On Thu, Mar 04, 2004 at 02:58:49AM +0100, Thomas -Balu- Walter wrote:
>> > Similar behaviour would be:
>> > [[http://www.example.com Example page]]
>> >         displays a link with "Example page" as linktext
>> > [[http://www.example.com/test.gif Example image]]
>> >         displays an image with "Example image" as alttext...
>> Bad. A change in behaviour that extreme isn't good, imho.
>
> Hm. Am I the only one who sees the relation between
>         http://www.example.com
>         [[http://www.example.com Link Text]]
>
> and the image variant (doesn't the docu say urls ending in .gif are
> displayed as inline images?):
>         http://www.example.com/a.gif
>         [[http://www.example.com/a.gif Alt Text]]
> ?
>
> Of course this is a change in behaviour, but is it bad for users
> understanding? Right now the [[http://www.example.com/a.gif Alt Text]]
> does not print an inline image like http://www.example.com/a.gif does
> and one might expect.
>
> On the other hand you won't be able to simply create textual links to
> images then anymore...

In thinking about this, I wonder if something along the following lines 
might work.
[[http://www.example.com/a.gif "Alt Text".alt 150.height 280.width 
15.vspace 6.hspace A label for the image]]

or in shortened notation --

[[http://www.example.com/a.gif "Alt Text".alt 150.h 280.w 15.vs 6.hs A 
label for the image]]
[[http://www.example.com/a.gif 150.h 280.w 15.vs 6.hs "Alt Text".alt A 
label for the image]]

It would also permit constructions such as
[[http://www.example.com/a.gif "Alt Text".alt "#MyMap".map 405.w 100.h]]

This could permit the use of image maps, perhaps?

Just a thought.

/Jf



  



More information about the pmwiki-users mailing list