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 changing the original. 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.

PHP Image Editor Pro Joomla Software License and GPLv3

PHP Image Editor Lite and PHP Image Editor Lite Joomla is licensed by GPL.
PHP Image Editor Pro Joomla is licensed by PHP Image Editor Joomla Pro Software License.
PHP Image Editor Pro Joomla is the only version that can be used in commercial projects.

PHP Image Editor Lite Joomla

Max image width/height in phpimageeditor/lite/shared/config.php

PIE_IMAGE_MAX_WIDTH and PIE_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

There is two ways:
Use the language tool to generate a language file for your language.
Copy the language file to the directory plugins/system/phpimageeditor/language

Or you can do it the manual way:
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 the directory/file "phpimageeditor/language/en-GB.ini" to "phpimageeditor/YOUR_LANGUAGE_CODE.ini"
Translate the text in "phpimageeditor/language/YOUR_LANGUAGE_CODE.ini"
to your own language.

How to add a new language in Lite version

There is two ways:
Use the language tool to generate a language file for your language.
Copy the language file to the directory phpimageeditor/language
Open "/phpimageeditor/config.php" and update define("DEFUALT_LANGUAGE", "en-GB");
to define("DEFUALT_LANGUAGE", "YOUR_LANGUAGE_CODE");

Or you can do it the manual way:
Decide a code for your own language.
Copy the directory/file "phpimageeditor/language/en-GB.ini" to "phpimageeditor/language/YOUR_LANGUAGE_CODE.ini"
Translate the text in
"phpimageeditor/language/YOUR_LANGUAGE_CODE.ini"
to your own language.
Open "/phpimageeditor/config.php" and update define("DEFUALT_LANGUAGE", "en-GB");
to define("DEFUALT_LANGUAGE", "YOUR_LANGUAGE_CODE");

How to control which users who can edit images

In PHP Image Editor Pro Joomla 2.5, 1.7 and 1.6, users with edit permission and super users can edit images.
In PHP Image Editor Pro Joomla 1.5, users of group Manager, Administrator and Super Administrator can edit images.
In plugins/system/phpimageeditor/pro/shared/includes/acl_functions.php you can change the PIE_Access() function to let other users edit images.

In PHP Image Editor Lite Joomla 2.5, 1.7 and 1.6, users with edit permission and super users can edit images.
In PHP Image Editor Lite Joomla 1.5, users of group Manager, Administrator and Super Administrator can edit images.
In plugins/system/phpimageeditor/lite/shared/includes/acl_functions.php you can change the PIE_Access() function to let other users edit images.