|
|
webresizer - APIAdvanced Integration - Optional Inclusion of ToolsTurn tools on and off ... This section outlines the optional inclusion of tools on the webresizer tool palette. webresizerAPI.toolDisplayTo use the toolDisplay property you first need to create the webresizerAPI object. For example, the below script will embed webresizer in your page without the Contrast and Colour Saturation tool. <script type="text/javascript">
var webresizerAPI = new Object;
webresizerAPI.parameters = {
apikey : 'your API Key here',
language : 'en'
};
webresizerAPI.toolDisplay = {
contrast : 'no',
saturation : 'no'
}
</script>
<script type="text/javascript"
src="http://api.webresizer.com/ext/js/webresizer_api.js">
</script>
Tool Display options
Using the toolDisplay property of the webresizerAPI object is optional. The default values for displaying tools will be used if the property is not set. Sending and Saving Images - how to transfer images between your server and Web Resizer Please note each API key is unique and authenticated for use on your domain only. The API will not work if you attempt to use someone elses API key or cut and paste the demo API key ... you'll need to sign up first! |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||