Extension:CloudImage

The  extension provides a way to embed images directly from image hosting services e.g. Flickr, OneDrive, Dropbox, SlideShare, Speaker Deck, imgur and others.

embed simply
Just embed a image simply. But not forgot to close the tag by &quot;/&gt;&quot;. For example:

Note: border="0" set automatically if not set.

embed with comment
You can specify some attributes similarly tag.

You can use "href" to attach a hyper link on the image.

And you can write a comment below the image.

For example:

Special attributes using here.
 * framestyle - styles for
 * captionstyle - styles for

embed from Dropbox
You can embed Dropbox link of images directly. For example:

embed from Flickr
You can embed images hosted on Flickr directly. For example:

Compatibility with Extension:FlickrAPI
This extension provides a tag that has semi-compatibility with Extension:FlickrAPI for migration.

If you want to use this function, set the $wgCloudImageCompatibleFlickrAPI value above wfLoadExtension.

And set your Flickr API Key to $wgFlickrAPIKey. You can use same key as Extension:FlickrAPI.

Note: This extension use Flickr API key with Extension:FlickrAPI ( tag) compatible mode only.

Object cache
This extension use MediaWiki Object cache mechanism for saving to call Flickr API (exclude oEmbed).

If you use Extension:FlickrAPI compatibility mode, we recommend to set $wgMainCacheType.

And if you want clear the cache, set the value on LocalSettings.php and reload the image.

Note: Purge not affect this extension.

Sites limitation
You can embed images from Flickr, OneDrive, Dropbox, Google Drive, SlideShare, Speaker Deck and imgur only by default.

And you can add other sites if you want. Note: This variable must set the value '' (empty string).

Attributes limitation
You can use attributes 'width', 'height', 'class', 'style', 'title' and 'alt' only by default.

And you can add other attributes if you want. Note: Attributes values must set lower-case letters.

Link target
This extension refer the $wgExternalLinkTarget value.

Timeout
This extension timed out 60 seconds by default to call Flickr API.

We recommend to set shorten &quot;default_socket_timeout&quot; on php.ini as possible.

But Flickr oEmbed calling only, timed out 2 seconds by default.

And you can change it as follows.

Custom tag
You can use another tag e.g. as alias.

If you want to use this extension with, set the value above wfLoadExtension.

Notice
SlideShare (oEmbed), Speaker Deck (oEmbed) and imgur support are experimental.

This extension has some privacy risk. Use only at private site!

For details see here: Manual:$wgAllowExternalImages