Thumbnailing: Difference between revisions
From Freephile Wiki
No edit summary |
No edit summary |
||
Line 45: | Line 45: | ||
! Wiki Text !! Result | ! Wiki Text !! Result | ||
|- | |- | ||
| <nowiki>[[File: | | <nowiki>[[File:QB_cube.svg|200px|link=]]</nowiki> || [[File:QB_cube.svg|200px|link=]] | ||
|- | |- | ||
| <nowiki>[[File: | | <nowiki>[[File:QB_cube.svg128px|link=]]</nowiki> || [[File:QB_cube.svg|128px|link=]] | ||
|- | |- | ||
| <nowiki>[[File: | | <nowiki>[[File:QB_cube.svg|64px|link=]]</nowiki> || [[File:QB_cube.svg|64px|link=]] | ||
|} | |} | ||
=== Old Versions === | === Old Versions === | ||
Line 57: | Line 57: | ||
== Thumbnailing Errors == | == Thumbnailing Errors == | ||
If you get an error about "Error creating thumbnail: Unable to save thumbnail to destination", and you've checked that the "images" directory is writable by the web server, as well as any sub- | If you get an error about "Error creating thumbnail: Unable to save thumbnail to destination", and you've checked that the "images" directory is writable by the web server, as well as any sub-directories, then you might be able to solve the problem by '''unsetting''' the <code>[[mw:Manual:$wgTmpDirectory|$wgTmpDirectory]]</code> setting in your LocalSettings.php file. I had | ||
<code>$wgTmpDirectory = "{$wgUploadDirectory}/tmp";</code> in a v1_26 version of MediaWiki. Thumbnails were generated after I commented the setting. | <code>$wgTmpDirectory = "{$wgUploadDirectory}/tmp";</code> in a v1_26 version of MediaWiki. Thumbnails were generated after I commented-out the setting (thus restoring the default from DefaultSettings.php -- which luckily worked for me). | ||
== Reference == | == Reference == |