[Pmwiki-users] image size
Patrick R. Michaud
pmichaud
Fri Aug 1 22:47:20 CDT 2003
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