I just tried running:
convert -resize 120 Template-info.svg Template-info.png
and I got:
convert: unable to open image `Template-info.png': Permission denied.
I checked my permissions, and it looks like the owner of some of the image directories is "webservd", while most of the others are the main user for the wiki account. The webservd owner directory permissions are 0755 while the main user directories are 0777. The root "images" directory is owned by the main user, and is 0777.
Is that normal, or is it likely that the issue is actually a permissions problem? Or maybe I just need to su to run the convert command?
Platonides wrote:
On 10/11/11 04:53, badon wrote:
The JavaScript URLs work fine, and they weren't too difficult to adapt to my own MediaWiki installation. The URL rewrite stuff that redirects the 404 URL to thumb.php is what seems to be missing, and it affects all image types. I don't know what command is being used to render SVG thumbs. How do I find that info? Here's the other info you requested, along with a copy and paste of the section in my LocalSettings.php that deals with images:
Your problem is not the javascript urls but the svg conversion: See http://www.coincompendium.com/wiki/thumb.php?f=Template-info.svg&w=120 isn't like http://www.coincompendium.com/wiki/images/4/4c/Template-info.svg
From your setup, they should be converted with imagemagick 6.3.4.2 Does a command like convert -resize 120 Template-info.svg Template-info.png produce a sensible png? (on my setup with 6.7.3 it doas)
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l