<?xml version="1.0" encoding="UTF-8"?>
<editor id="editor.pixlr" openable="true" iconClass="mdi mdi-image-filter" text="333" title="333" className="PydioPixlr" mimes="jpg,jpeg,png,bmp,pxd"
        write="true" canWrite="true" label="CONF_MESSAGE[Pixlr Editor]"
        description="CONF_MESSAGE[Bridge to the Pixlr.com webservice that allow online image edition via a photoshop-like GUI.]"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
	<class_definition filename="plugins/editor.pixlr/PixlrEditor.php" classname="Pydio\Editor\Image\PixlrEditor"/>
    <server_settings>
        <global_param
                description="CONF_MESSAGE[Add a secure token to the target script to make sure that we are downloading an authorized image. The .htaccess file contained in the plugin must be correctly configured (apache)]"
                label="CONF_MESSAGE[Secure Token]" name="CHECK_SECURITY_TOKEN" type="boolean" default="true" />
    </server_settings>
	<client_settings>
        <resources>
            <js file="plugins/editor.diaporama/res/build/PydioDiaporama.js" className="PydioDiaporama"/>
            <js file="plugins/editor.pixlr/res/build/PydioPixlr.js" className="PydioPixlr"/>
            <i18n path="plugins/editor.pixlr/i18n" namespace="pixlr_editor"/>
        </resources>
	</client_settings>
	<registry_contributions>
		<actions>
			<action name="post_to_server">
				<processing>
					<serverCallback methodName="switchAction"/>
				</processing>
			</action>
			<action name="retrieve_pixlr_image">
				<processing>
					<serverCallback methodName="switchAction"/>
				</processing>
			</action>
		</actions>
	</registry_contributions>
	<dependencies>
		<!-- Image proxy must be implemented -->
		<activePlugin pluginName="access.AJXP_STREAM_PROVIDER"/>
	</dependencies>
</editor>
