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 parameters 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 value above wfLoadExtension.

Sites limitation
You can embed images from Flickr, OneDrive, Dropbox, Google Drive, SlideShare, Speaker Deck and imgur 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' by default.

And you can add other attributes if you want.

Link target
This extension refer the $wgExternalLinkTarget value.

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

If you use it to embed Flickr images, we recommend to set &quot;default_socket_timeout&quot; on php.ini shorten.

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

You can change it as follows.

Object cache
This extension use MediaWiki Object cache mechanism for saving to call Flickr API.

If you use this extension to embed Flickr images, 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.

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