Project:Support desk/Sections/Images

__NEWSECTIONLINK__

= Image Support =

Not creating thumbnails
Everything installed correctly, but I cannot get any thumbnails working. :( I tired messing with $wgHashedUploadDirectory - the first one uploaded under the link above is with "true" parameter, while the second one is with "$wgHashedUploadDirectory = false;" (current). No results. The directory is writeable and I can upload files, but the script does not generate thumbnails. Any ideas what's wrong? I have GD on the host. 87.105.138.11 13:52, 22 February 2010 (UTC)
 * MediaWiki 	1.15.1
 * PHP 	5.2.4 (cgi-fcgi)
 * MySQL 	4.0.27-log
 * URL: http://mwllwiki.studio-gepard.pl/index.php?title=Special:NewFiles

(solved) rsvg doesn't convert

 * MediaWiki version: 1.13.0
 * PHP version: 5.2.11 (cgi)
 * MySQL version: 4.1.22-standard-log
 * URL: http://www.die-glaeserne-klinge.de/index.php?title=Bild:Grom--Balamarwappen.svg

Hi,

it seems, that the rsvg-converter of my Wiki doesn't work properly. All settings in the LocalSettings.php are correct, the rsvg-folder does exist and is not empty, $wgSVGConverterPath is /rsvg.

I can upload .svg-files without any problem, and the dimensions and file-size are shown correctly on the image-page, but instead of the png it shows a grey field with an error message, as shown on the linked page.

Translated to english it says something like


 * Error convertigng the thumbnail:
 * /kunden/186179_59823/wiki/bin/ulimit4.sh: line 4: /rsvg/rsvg: No such file or directory

well, the ulimit4.sh does not contain "/rsvg/rsvg". I have tried to delete $wgSVGConverterPath from the LocalSettings.php, the result was, that the error-message reported only one /rsvg.

I have not installed rsvg, it must have come with the MediaWiki-Download.

Do you have an idea to solve the problem?

Thanks in Advance Grom

—78.49.116.249 13:22, 3 March 2010 (UTC)


 * That's because domainFactory hasn't rsvg installed on their servers. Since I'm also hosting a MediaWiki at dF, I had the same problem. At first I tried to use ImageMagick as the SVG renderer, but the quality wasn't really nice (e.g., ImageMagick didn't renderd transparent SVG's to transparent PNG's). After a long google search, I found a static compiled rsvg, which works really well on my MediaWiki installation. Until now I haven't had any problems with that. If you're interested, I have a look at the config I used and post it here. --WikiMichi 22:30, 7 March 2010 (UTC)


 * That would be nice, thanks. Is there anything i have to take care of during the installation, that is not explained in the install-guide?—69.63.57.3 21:29, 6 March 2010 (UTC)


 * 1. Download the binary package and extract it to an newly created folder on your webspace (e.g. svgconvert in your wiki folder)
 * 2. Download my converter script into the same folder.
 * 3. Make the script executable (chmod u+x convert.sh via SSH or set the file rights to 740 via FTP).
 * 4. Set the following variables in your LocalSettings.php:


 * That should do the trick. BTW, since the svgconvert binary is just converting the SVG to PNG, my script calls ImageMagick afterwards for thumbnailing. --WikiMichi 21:45, 8 March 2010 (UTC)


 * Thank you very much, after uploading all files in binary-mode it worked very fine. --78.48.72.159 18:16, 9 March 2010 (UTC)


 * You are welcome. Have fun with SVG! [[Image:Icon wink.gif]] --WikiMichi 20:34, 9 March 2010 (UTC)


 * MediaWiki version: 1.14.0
 * PHP version: 5.2.8 (apache2handler)
 * MySQL version: 5.1.30-community-log

Hi I have a wiki that is locked down so that a certain group [users] is unable to create new pages. They are able to edit existing pages but unable to add new ones. I need this group to be able to upload images. Currently they get an error stating that they are unable to create or edit pages so an image cannot be uploaded.

I am unsure how to get around this issue. Can anyone guide me in the right direction to fix the issue.

Regards Hayden

Current Group Permissions

$wgGroupPermissions['*'   ]['read']             = false;
 * 1) Group Premissions

$wgGroupPermissions['*'   ]['edit']             = false;

$wgGroupPermissions['*']['createaccount'] = false;

$wgGroupPermissions['*']['createpage'] = false;

$wgGroupPermissions['*']['createtalk'] = false;

$wgGroupPermissions['user' ]['read']            = true;

$wgGroupPermissions['user' ]['edit']            = true;

$wgGroupPermissions['user']['reupload'] = true;

$wgGroupPermissions['user']['reupload-shared'] = true;

$wgGroupPermissions['user']['upload'] = true;

$wgGroupPermissions['user']['createpage'] = false;

$wgGroupPermissions['user']['createtalk'] = false;

$wgGroupPermissions['staff']['read'] = true;

$wgGroupPermissions['staff']['search'] = true;

$wgGroupPermissions['staff']['createpage'] = true;

$wgGroupPermissions['staff']['createtalk'] = true;

$wgGroupPermissions['staff']['edit'] = true;

$wgGroupPermissions['staff']['move'] = true;

$wgGroupPermissions['staff']['move-subpages'] = true;

$wgGroupPermissions['staff']['reupload'] = true;

$wgGroupPermissions['staff']['reupload-shared'] = true;

$wgGroupPermissions['staff']['upload'] = true;

$wgGroupPermissions['staff']['writeapi'] = true;

$wgGroupPermissions['staff']['minoredit'] = true;

$wgGroupPermissions['staff']['purge'] = true;

$wgGPManagerNeverGrant['staff'] = array;

$wgGroupPermissions['sysop']['category'] = true;

$wgNamespaceProtection[NS_CATEGORY] = array( 'category' );

—203.12.147.98 00:46, 25 March 2010 (UTC)


 * MediaWiki version: mediawiki-1.6.12
 * PHP version: php5-5.2.12
 * MySQL version: mysql-server-5.0.89
 * URL:

Hello. For any not clear reason in теге The parametre link does not work. With what it can be connected? That I would not write in this parametre - the reference all the same conducts on page of the description of the image. —85.26.232.213 05:56, 1 April 2010 (UTC)


 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL:

Wanted to know if there is a way of displaying a Image in Mediawiki that points to a .jpg file on a network share? Have th link to the file working. But cant find a way to display the Image that it is linking to without uploading the image to media wiki. Want it to display the image on the network share without having to upload anything.

—78.105.0.186 13:35, 1 April 2010 (UTC)

I tried to include a link directly from an image writing this: [ [Bild:bild.jpg|300px|link=linkpage] ] but it seems like "link=linkpage" doesn't work. Any ideas what i was doing wrong? i also tried [ [Bild:bild.jpg|300px|[link=linkpage] ] ], but it didn't work either. I am grateful for any help! —95.33.115.10 15:09, 2 April 2010 (UTC)
 * MediaWiki version: 1.12.0
 * PHP version: 5.2.6-3ubuntu4.4 (apache2handler)
 * MySQL version: 5.0.75-0ubuntu10.2
 * URL: important?


 * Well, I think the link parameter is not working, because this parameter was introduced in MediaWiki 1.14.0, and you are using version 1.12.0. Have a look at the Release notes: "Added "link" parameter to image links, to allow images to link to an arbitrary title or URL" --WikiMichi 22:37, 7 April 2010 (UTC)

i have set new site but unable to show images

 * MediaWiki version: 1.15.2
 * PHP version: 5.2
 * MySQL version:
 * URL: www.kundrabansal.com/wiki

I have set new website for my client, the site is configured but the images are not showing i have used the instruction but it is just showing the link. I have put the image in images folder in root directory.

Is there any template available to design the pages as well

—Lotictech 05:17, 3 April 2010 (UTC)

403 Forbidden error for newly uploaded images

 * MediaWiki version: 1.15.2
 * PHP version: 5.2.2 (cgi-fcgi)
 * MySQL version: 5.0.68-percona-3-log
 * URL: http://www.freewebdirectorywiki.co.uk

I've just recently enabled Special:Upload but for some reason whenever a new file is uploaded it cannot be viewed. Although it appears in the NewFiles log the image appears as a box with a red "x" in the top left hand corner and when clicked gives the following message: "Forbidden. You don't have permission to access /wiki/images/1/13/Test_image.PNG on this server." I have managed to upload some images however, it turns out that whenever an image is uploaded it has a new directory created for it without the correct permissions which means I have to actually physically log in to FTP and adjust the permissions before the image can be viewed. Can I please have some help regarding this? 84.13.40.118 20:47, 16 April 2010 (UTC)

In the version of MediaWiki 1.15.3, not displayed images. (*.png)

 * MediaWiki version: 1.15.3
 * PHP version: 5.2.12 (cgi-fcgi)
 * MySQL version: 5.0.70-log
 * URL: http://heroeswar-wiki.ru

In the version of MediaWiki 1.15.3, does not see the images that were in the archive with the installation.(*.png)

All image files that were installed Mediawiki not displayed, downloaded icon is "powered by MediaWiki" and installed in the same directory. She was displayed. Where to get package icons to reinstall?

P.S. Translated using Google translator, may not be an exact match.

P.P.S.Thank you, at that time had downloaded the archive from a Russian language is now downloaded from under the Engleash language. Replaced folder .../skin/common/images and everything worked.

—K.S. Anton 21:49, 22 April 2010 (UTC)