[Mediawiki-l] Re: mediawiki image alignment problem
thuynh_ at hotmail.com
Mon Feb 14 18:32:32 UTC 2005
Rick & Jan - Thanks for the quick replies.
I have tried to position even with the second vertical bar, as you both
mentioned but i still get no results. i checked out the source and this is
\\a href="/wiki/index.php/Image:Test.png" class="image"
title="test|right|"><img src="/wiki/images/d/d9/Test.png" alt="test|right|"
it seems the alignment function isnt recognized at all for some weird
reason. could this be a persmissions problem on the php script file or
folder? if im able to manually insert the div class "floatright" and get it
to work that means that its probably using some php script to call this
class from a stylesheet right? im still very confused as to why this is not
working, and any more help would be appreciated.
>hi all, new user to this list as well as mediawiki. i just recently
>installed the stable release of mediawiki (1.3.10). Installation went fine
>and mostly everything is working correctly except for one thing. I can not
>get images i've uploaded to align either left or right. ive checked the
>mediawiki syntax for this a million times and everything ive tried doesnt
>work. When im editing a page, i enter:
>*i read that you can also add another vertical bar at the end of right so
>that "right" does not appear as the alt text.
>i've tested this on other mediawiki installations (older versions, on
>seperate servers, etc) and it works. On my mediawiki, the image is just
>positioned left and the text is cleared right below it. i checked the
>source code and "right" appears as the alt text for some reason.
The last vertical bar is not optional. Without it the right is
interpreted as alt/caption text and NOT as a formating option. You
This might have worked somewhat differently in earlier versions of
MediaWiki. It seems to be somewhat "under construction." In fact the
article about extended image syntax in the Wikipedia doesn't do alt
text/captions exactly as it says it should in all cases.
>p.s. i know that the thumbnailing function is not enabled if GD library is
>not installed, but i should still be able to resize my images right? using
>it should just resize using html correct? maybe this problem is connected
>to the above one?
I'm pretty sure that image resizing, whether for thumbnails or in
general, requires either the GD library or the ImageMagick external
program. ImageMagick may not work on all platforms. On my 1.3.x
installation on Linux, I've got the following lines in my
$wgUseImageResize = true;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/bin/convert";
More information about the MediaWiki-l