Project:Support desk/Sections/Images

__NEWSECTIONLINK__

= Image Support =

Slideshow in MediaWiki

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.6-5 (apache2handler)
 * MySQL version: 5.0.32-Debian_7etch6-log
 * URL: http://rafnem.hi.is/hiwiki/index.php/Main_Page

I am getting acquainted with MediaWiki in connection with a school information project. This is very promising and started me thinking of a wider application: Would it be possible to use MediaWiki for a photogallery, with thumbnails and slide show for all photos belonging to different categories?


 * 1) I have a collection of photos, say for the years 1942-1972.
 * 2) I put one photo in each article in the wiki, describing what is taking place, and categorizing it, by year, by name of the people seen in the photo and any other imaginable feature.
 * 3) If I after this choose the category "1957" all photos belonging to that category should be presented in a thumbnail gallery with the option of a slideshow and all or part of the description. If I choose the category "Vehicle" all photos in that category would be presented, ordered by year.

The same goes for many pictures in a single article. Even using the tag I can't see an easy way to move between the pictures, I have to back out of each one and drill down to the next.

—Icepalm 11:52, 19 April 2009 (UTC)

Error creating thumbnail: convert.exe: unable to open image :Permission denied @ blob.c/OpenBlob/2439

 * MediaWiki version: 1.14
 * PHP version: 5.2.4
 * MySQL version: 5.0.5
 * URL: http://mymoney.hatalasystemsgroup.com/Wiki/index.php?title=File:BWPositive.jpg

Been battling this for a few days now, it's been one thing after another. This is on Windows and IIS, as indicated by the error message. I seem to have run out of options I can think of/find. Any help would be appreciated.

—Chris 16:00, 20 April 2009 (UTC)

Hi Chris, I am no expert but I have encountered this problem before. Are you on shared hosting? If so, your webhost may not be allowing ImageMagick. Two of my webhosts use GD instead, in which case, you just need to set $wgUseImageMagick = false; and it will work fine. &mdash; PM Poon 17:26, 1 May 2009 (UTC)

$wgUseSharedUploads

 * MediaWiki version: 1.14.0
 * PHP version:  5.2.8
 * MySQL version: 5.0.77-community
 * URL: http://aseanpedia.com

Hi, I am operating multiple wikis and I think the use of $wgUseSharedUploads is a good idea. However, the instructions at Manual:$wgUseSharedUploads assume some background knowledge and are incomprehensible for a novice like me:

If you operate multiple wikis, you can define a shared upload path using $wgSharedUploadPath. If $wgUseSharedUploads is set, the wiki will look in the shared repository if no file of the given name is found in the local repository (for, [[Media:..]] links).

Thumbnails will also be looked for and generated in this directory.

Uploads to the wiki will NOT be put there - they will be put into $wgUploadDirectory.

Supposing I create a new wiki called imagewiki.com and a database called Imagedb:
 * How should I tweak my LocalSettings.php? Do I need to tweak both the LocalSettings.php for aseanpedia.com and also for imagewiki.com?
 * Can I use a "false" (unregistered) domain name? &mdash; PM Poon 17:21, 1 May 2009 (UTC)

Thumbs are not centered
Look here Help:Images and scroll down to "Thumbs". The picture and the text is not centered within the lighter area arround it. --Lastwebpage 20:05, 7 May 2009 (UTC)

Error creating thumbnail

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.0-8+etch15
 * MySQL version: 5.0.32-Debian_7etch10-log
 * URL: http://www.stomatocysts.unibe.ch/wiki/

After upgrading from Mediawiki 1.13 to 1.14, I have an "Error creating thumbnail:" without any further information. I use ImageMagick 6.2.4. My local settings are: $wgUseImageMagick = true; $wgUseImageResize = true; $wgImageMagickConvertCommand ='/usr/bin/convert';

—130.92.9.58 12:24, 12 May 2009 (UTC)

How to change the default 180px thumbnail size for non-logged in users?

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.9
 * MySQL version: 5.0.67
 * URL: n/a

I was wondering whether it is possible to change the default 180 pixels thumbnail size for non-logged in users. Registered users can do this through their preferences and the admin can change the available settings through $wgThumbLimits. But what about users without account? I know I could add a specific size parameter to each thumbnail image, but the 180 pixels must be set somewhere in the MediaWiki code.

My wiki is not yet "live", but the test users find the 180 pixels thumbnails just a tad too small. Since most readers will be lurkers without account, I'd like to increase the size a bit to make the thumbs a bit more useful to these users. Any tips/advice? —81.82.72.97 21:53, 28 May 2009 (UTC)


 * Set  $wgDefaultUserOptions['thumbsize'] = 2;  where the value "2" is the index of the relevant setting in $wgThumbLimits. By default the ThumbLimits is:


 * So setting to "3" would make the default option 200px; of course if none of the options there are suitable, you can simply add in your own value at the appropriate place, and link to that. Hope this helps, it's a bit complicated I know, but that's how the cookie crumbles... Happy ‑ melon 22:14, 28 May 2009 (UTC)


 * That's it! Thank you! Once you know how it works, it makes sense but I could have searched for that for years without your help... —81.82.72.97 06:05, 29 May 2009 (UTC)