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:
[[image:test.png|right]]
*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. im not really sure if this function is a setting i have to turn on or something. i know that you can just add html (div class="floatright") when editing and it will work, but that is sorta cumbersome for the average users editing this wiki.
This is a fresh installtion of mediawiki. I have gone through and adjusted all the suggested security settings. i do not have the GD Library installed. Permissions are set to read only, except for the image folder.
any help or suggestions are greatly appreciated!
-tim
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 this syntax:
[[image:test.png|left|thumb|50px|]]
it should just resize using html correct? maybe this problem is connected to the above one?
On Mon, 14 Feb 2005 00:21:47 -0800, Tin Huynh thuynh_@hotmail.com wrote:
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:
[[image:test.png|right]]
*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 need [[image:test.png|right|]]
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.
http://en.wikipedia.org/wiki/Wikipedia:Extended_image_syntax
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 this syntax:
[[image:test.png|left|thumb|50px|]]
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 LocalSettings.php file:
$wgUseImageResize = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert";
On 14 Feb 2005, at 00:21, Tin Huynh wrote:
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:
[[image:test.png|right]]
*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.
The second vertical bar and alt text appears to be mandatory. I had the same problem as you until I supplied it.
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 this syntax:
[[image:test.png|left|thumb|50px|]]
it should just resize using html correct? maybe this problem is connected to the above one?
Re-sizing vial HTML is evil. Don't do it. Those of us with less than humongous bandwidth will thank you.
:::: We got the best politicians in this country that money can buy. -- Will Rogers :::: Jan Steinman http://www.Bytesmiths.com/Item/99AA34
mediawiki-l@lists.wikimedia.org