[Mediawiki-l] image scaling doesnt work

Rob Church robchur at gmail.com
Tue Nov 29 00:38:45 UTC 2005


Using |frame| and specifying a size doesn't work. The |frame| option
forces images to expand to their full size.


Rob Church

On 29/11/05, Tim Whitehouse <whitehousetim at rgv.rr.com> wrote:
> What does the wikicode for the image look like? Something like this
> works for me:
>
> [[Image:theimage.png|thumb|right|250px|description]]
>
> I don't know why but it wouldn't resize if I used the frame option like
> this:
>
> [[Image:theimage.png|right|250px|frame|description]]
>
> Imagemagick must be installed separately from Mediawiki or you can use
> the GD libraries.
>
> For Imagemagick the settings must be made in LocalSettings.php:
> $wgUseImageResize               = true;
> $wgUseImageMagick               = true;
> $wgImageMagickConvertCommand = "/usr/bin/convert";
>
> The convert binary must exist and be must be readable at the specified
> location by the web server and the image directory must be writeable.
>
> Tim Whitehouse
>
>
> Ralf Damaschke wrote:
>
> >Hi,
> >I use a MediaWiki 1.5 on a SuSE 9.3 box and I have a problem with the
> >scaling of images. If I use the scaling of an image like :
> >[[Bild:Ultraschall2-SW9.png|80px|thumb|left|Ultraschall1]]
> >
> >I will get in the HTML-sourccode :
> ><img
> >src="/wiki/images/thumb/a/a6/Ultraschall2-SW9.png/80px-Ultraschall2-SW9.png"
> >alt="Ultraschall1" width="80" height="109"
> >longdesc="/wiki/index.php/Bild:Ultraschall2-SW9.png" /></a>
> >
> >As far as I know this cant work then the /80px-Ultraschall2-SW9.png
> >doesnt exist. But I dont know php so I cant figure out where the
> >problem is.
> >
> >Maybe someone can help me on this?
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >MediaWiki-l mailing list
> >MediaWiki-l at Wikimedia.org
> >http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> >
> >
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>



More information about the MediaWiki-l mailing list