Create directory

This example shows how the create directory dialog of the MCImageManager can be opened as separately.

[Create directory]

HTML source

Below is all you need to setup the example.

<script type="text/javascript" src="<your installation path>/js/mcimagemanager.js"></script>

<p>
	<a href="javascript:;" onclick="mcImageManager.createDir({oncreate : function(res) {alert(res.file.url)}});">[Create directory]</a>
</p>