[Pmwiki-users] image size

Aimee Mostella aangelaimee
Fri Aug 1 22:58:29 CDT 2003


Cool.  Thanks!

    alm
<'{{{{{><
----- Original Message ----- 
From: "Patrick R. Michaud" <pmichaud at pobox.com>
To: "Aimee Mostella" <aangelaimee at stx.rr.com>
Cc: <Pmwiki-users at pmichaud.com>
Sent: Friday, August 01, 2003 11:47 PM
Subject: Re: [Pmwiki-users] image size


> On Fri, Aug 01, 2003 at 11:40:40PM -0500, Aimee Mostella wrote:
> > 
> >    Is there a way to change the size of an image?
> 
> With the default wiki, no--the normal way to do it is to pre-adjust the
> image's size using another program.  However, I think it ought to be
> possible to create a WikiStyle that would enable width and height
> attributes for image tags... something along the lines of (in local.php):
> 
>   $WikiStyleTags['width'] = array( 'img' => 'width=\'$value\' ');
>   $WikiStyleTags['height'] = array( 'img' => 'height=\'$value\' ');
> 
> Then in a wiki page one could do:
> 
>   %width=50 height=100% http://www.somehost.org/path/picture.gif
> 
> and picture.gif would be displayed scaled to a size of 50x100 pixels.
> 
> Pm



More information about the pmwiki-users mailing list