Documentation

This is how PHP Image Editor works.

An image path is sent to PHP Image Editor. The first time it recieves an image, the image is copied to the PHP Image Editor´s image directory. So it´s possible to edit the image without showing the working version. The original is only overwridden when the "Save and Close" button is pressed.

Temporary images that are created by PHP Image Editor are deleted when "Save and Close" is pressed. All temporary images that are older than two days will be deleted.

Open source GPLv3

The code is open and may be developed to suit your own needs.
But please read the license about your obligations.

Max image width/height in phpimageeditor/config.php

IMAGE_MAX_WIDTH and IMAGE_MAX_HEIGHT are settings for the max image widht/height. If the image is larger then these settings, it will be resized automatically when "Edit Image" link is clicked. You may change these values to something that suits your needs.

How to add a new language in Joomla version

First you need to find out which language code that is active in your Joomla installation.
This code shows the language code:
<?php
$config =& JFactory::getConfig();
echo $config->getValue('config.language');
?>
Copy and paste the directory/file "phpimageeditor/language/en-GB/en-GB.com_admin.ini" to "phpimageeditor/language/YOUR_LANGUAGE_CODE/YOUR_LANGUAGE_CODE.com_admin.ini"
Translate the text in "phpimageeditor/language/YOUR_LANGUAGE_CODE/YOUR_LANGUAGE_CODE.com_admin.ini"
to your own language.

How to add a new language in Normal version

Decide a code for your own language.
Copy and paste the directory/file "phpimageeditor/language/en-GB/en-GB.com_admin.ini" to "phpimageeditor/language/YOUR_LANGUAGE_CODE/YOUR_LANGUAGE_CODE.com_admin.ini"
Translate the text in
"phpimageeditor/language/YOUR_LANGUAGE_CODE/YOUR_LANGUAGE_CODE.com_admin.ini"
to your own language.
Open "/phpimageeditor/config.php" and update define("DEFUALT_LANGUAGE", "en-GB");
to define("DEFUALT_LANGUAGE", "YOUR_LANGUAGE_CODE");

Did you like PHP Image Editor? Then I appreciate your support by "digg it".