[pmwiki-users] Image width and height attributes not working within links

Anno anno at shroomery.org
Thu Jun 19 05:43:50 CDT 2008


Anno wrote:
> When I specify the width and height for an image, it works when the 
> image is bare, like here:
> 
> %width=180px 
> height=60px%http://www.mushroomvideos.com/images/BRF_tek_Part_2_thumb.jpg"pf 
> tek"
> 
> If I use the same image within a link, the width and height 
> specifications are ignored:
> [[http://www.mushroomvideos.com|%width=180px 
> height=60px%http://www.mushroomvideos.com/images/BRF_tek_Part_2_thumb.jpg"pf 
> tek"]]
> 
> See http://www.pmwiki.org/wiki/Test/ImageAttributes for how it looks like.
> 
> How do I fix it?
> 
> Anno


OK, I found the answer after some trying, it has to be written like this:

%width=180px 
height=60px%[[http://www.mushroomvideos.com|http://www.mushroomvideos.com/images/BRF_tek_Part_2_thumb.jpg"pf 
tek"]]%%


Anno




More information about the pmwiki-users mailing list