Writing
Other Stuff

How to add pictures or images into mediawiki

From Wikiexpert

Jump to: navigation, search

How and where do I upload graphics that I want to show on my pages? First, make sure that uploading is enabled in your wiki

There are several ways to add pictures within MediaWiki.

Contents

Enable uploading

File uploads are an often-used feature of MediaWiki, but are disabled by default in all current release versions. To enable them, first make the upload directory (default images) writable by the web server (chmod 777 or allow the Apache user to write to it, etc.) then set $wgEnableUploads to true in LocalSettings.php (i.e. "$wgEnableUploads = true;"). See Manual:Configuring file uploads for more information.


Next, make sure that your upload directory is "World Writable" Finally, Click on Special Pages and Then Upload Special:Upload


Video Instructions

Inline Images

Problem

You want images to show up in your wiki from another site without having to upload the images.

Solution

Inline images are disabled now for security reasons. If you are comfortable with the risk, you can add

$wgAllowExternalImages = true;

to your LocalSettings.php file

Caution

see Copyright. Beware that loading images from a 3rd party site is called bandwidth theft. Your visitor could also be in for nasty surprise



other contact methods...

Current user rating: 0% (0 votes)

 You need to enable Javascript to vote

See how this page stacks up