WideImage is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with WideImage; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA **/ require_once dirname(__FILE__) . '/helpers/common.inc.php'; html_header('Crop'); $left = Request::getRegex('left', Registry::get('image dim regex'), '10%'); $top = Request::getRegex('top', Registry::get('image dim regex'), 15); $width = Request::getRegex('width', Registry::get('image dim regex'), 50); $height = Request::getRegex('height', Registry::get('image dim regex'), '40%'); ?> <form action="?" method="get"> <table> <tr> <td> Left: <input type="text" name="left" value="<?php echo $left; ?> " /> Top: <input type="text" name="top" value="<?php echo $top; ?> " />