Edit file

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

[Edit image]

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.edit({path : '{0}/teddybear.jpg', onsave : function(res) {alert(res.file.url);}});">[Edit image]</a>
</p>