picture editor
Morph PhotoLite - the online picture editor for your website
Edit pictures online with Morph PhotoLite

System Requirements
Java Runtime Environment 1.6 or greater




IMPORTANT : Morph PhotoLite will need to have access to the computer's file system to be able to save your work and create temporary files. Therefore,
Morph PhotoLite may need to ask that you grant the permissions needed.


Screen Shots
picture editor screen shot
picture editor screen shot
How to Use
  • Make an online app for a popular social network site, put some ads and earn extra income.
  • Start a web hosting business and let clients edit their images online with Morph PhotoLite.
  • If you have a photo sharing site, let your users edit their pictures wtihin your website with Morph PhotoLite.
  • If you have a forum site, let your users edit and embed images into their posts.

These are just a few ideas of how you can use Morph PhotoLite for fun or for profit.
Don't delay, try it now!
Bookmark and Share
Announcement
January 7, 2010 GMT +8
Morph PhotoLite is now obsolete, please use Morph PhotoLite PLUS instead.

Any new bugs found in Morph PhotoLite will no longer be fixed.
Announcement
March 14, 2009 GMT +8
We have discovered a bug that caused problems when uploading an image, on some web browsers the image upload did not start at all.

We are pleased to announce that this bug has been fixed.
Put Morph PhotoLite On Your Website

Let your visitors edit their pictures without ever leaving your site, put Morph PhotoLite on your website now! NO SIGN-UP required.

Click on the "get HTML code" button below then copy and paste the html code into your web page

Before you use Morph PhotoLite or put Morph PhotoLite on your website please read the





IMPORTANT : DO NOT put more than one instance of Morph PhotoLite into a single page, doing so will cause errors in your web page

Get HTML Code

HTML Code Properties

Use Initial Image
the initial image is loaded immediately after Morph PhotoLite finishes loading

Initial Image URL

Morph PhotoLite opens the image at this URL immediately after Morph PhotoLite has finished loading
example :
http://www.mysite.com/image.jpg
may also contain any server side scripts that your server supports
PHP example :
<?php echo "http://www.mysite.com/".$_GET["IMG_NAME"]; ?>

supported image formats include : png, jpg and mrp (Morph Image Format)


Allow Direct Upload
if checked users will have the option to upload images directly to your website
image data will be sent through a regular POST variable named "IMGDATA" along with the post variables added using the morphphotolite_addUploadPost(name,value) JavaScript Control Function

IMPORTANT :
the image data is base64 encoded, you have to decode it first to get the actual image data
PHP example :
<?php $imgdata=base64_decode($_POST[IMGDATA]);?>


Upload Image Format

the image will be uploaded in this format

Upload URL

example : http://www.mysite.com/upload.php
the image data will be sent to this URL as a regular POST variable named "IMGDATA" along with the post variables added using the morphphotolite_addUploadPost(name,value) JavaScript Control Function

this URL should return an empty string if the upload was successful or a string containing the error message if the upload failed, this error message will be displayed in a javascript alert
IMPORTANT : upload url must be in the same domain as the html page where you put Morph PhotoLite


Upload Website Name

name of the site where the image will be uploaded, so users will know where the image is going to be uploaded








TIPS :
  • when saving in mrp format all of the layers' data can be faithfully reproduced when re-opened, unlike saving in png or jpg.
  • You can get a flattened preview of an mrp image file using any script or programming language by loading it as if it were an ordinary png file, useful for creating thumbnails
JavaScript Control

A set of javascript functions will be available within your HTML page.
  • morphphotolite_addUploadPost(name,value) : adds an additional post variable, to be sent with the image data when user uploads an image, if a variable with the given name already exists, it replaces the value of the existing variable. You cannot use a variable named "IMGDATA" since this variable name is being used to hold the image data.

    Parameters

    name - a string that contains the name of the post variable

    value - a string that is the value of the post variable

  • morphphotolite_clearUploadPost() : clears all the added post variables

Events

Useful for execution of some javascript code when certain events occur.
The html code for Morph PhotoLite (the code that you get from this page) contains a set of predefined - empty functions, you should place the javascript code for a particular event in the appropriate function
  • morphphotolite_onLoad() : called when Morph PhotoLite finishes loading

    called when any of the following happens :
    • Default image is not used and Morph PhotoLite applet finishes loading
    • Default image is being used and the default image has finished loading
    • Default image is being used then fails to load, and user chooses not to retry loading the image
  • morphphotolite_onUploadStart() : called when Morph PhotoLite begins the image upload
  • morphphotolite_onUploaded() : called when the image upload completes

Valid HTML 4.01 Transitional powered by php