[Mediawiki-l] SVG image not displayed correctly
Shah, Nikhil
Nikhil.Shah at lendingtree.com
Thu Sep 6 14:01:29 UTC 2007
My .svg file gets uploaded correctly and I see the converted image file
.svg.png file created
but the browser does not show the image. I would appreciate your advise.
I see the file in the directory:
\mediawiki\images\thumb\8\86\Map_of_US_TX.svg\200px-Map_of_US_TX.svg.png
But I get a 404 error on this URL
http://Mysite/MyWiki/images/thumb/8/86/Map_of_US_TX.svg/200px-Map_of_US_
TX.svg.png
Here is a test I tried: I renamed the directory Map_of_US_TX.svg to
Map_of_US_TX (without the .svg extension) and the image shows up
correctly.
I have added these params
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ppt', 'pdf',
'doc', 'psd', 'mp3','xls', 'zip','swf', 'svg');
$wgAllowTitlesInSVG = true;
$wgSVGConverters = array(
'Inkscape' => '"D:/Inkscape/inkscape.exe" -z -w $width -f $input -e
$output',
);
$wgSVGConverterPath = 'D:/Inkscape/';
$wgSVGConverter = 'Inkscape';
My web server is IIS5
Thank you!
Nikhil
More information about the MediaWiki-l
mailing list