Difference between revisions of "Thumbnailing"

From Freephile Wiki
Jump to navigation Jump to search
m (added Category:Logo using HotCat)
(note about fixing thumbnail generation)
Line 46: Line 46:
 
https://freephile.org/w/images/thumb/archive/5/5f/20160127044917%21Business.card.backside.jpg/120px-Business.card.backside.jpg
 
https://freephile.org/w/images/thumb/archive/5/5f/20160127044917%21Business.card.backside.jpg/120px-Business.card.backside.jpg
  
 +
== 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-directorys, 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.
  
 
== Reference ==
 
== Reference ==

Revision as of 12:29, 10 May 2017