imageok ) { $objImage->setCrop($_POST['x'], $_POST['y'], $_POST['w'], $_POST['h']); //$objImage->show(); $objImage->save($thumb_folder . 'thumbnail.' .$src); $success = i18n_r('THUMB_SAVED'); } else { i18n('ERROR'); } } $thumb_exists = $thwidth = $thheight = $thtype = $athttr = ''; list($imgwidth, $imgheight, $imgtype, $imgattr) = getimagesize($src_folder .$subPath. $src); if (file_exists($thumb_folder . 'thumbnail.' . $src)) { list($thwidth, $thheight, $thtype, $athttr) = getimagesize($thumb_folder . 'thumbnail.'.$src); $thumb_exists = '   |   '.i18n_r('CURRENT_THUMBNAIL').' '.$thwidth.'x'.$thheight.''; }else{ // if thumb is missing recreate it require_once('inc/imagemanipulation.php'); if(genStdThumb($subPath,$src)){ list($thwidth, $thheight, $thtype, $athttr) = getimagesize($thumb_folder . 'thumbnail.'.$src); $thumb_exists = '   |   '.i18n_r('CURRENT_THUMBNAIL').' '.$thwidth.'x'.$thheight.''; } } get_template('header', cl($SITENAME).' » '.i18n_r('FILE_MANAGEMENT').' » '.i18n_r('IMAGES')); include('template/include-nav.php'); ?>

'.i18n_r('ORIGINAL_IMG').' '.$imgwidth.'x'.$imgheight .''. $thumb_exists .'

'; ?>

<img src="" class="gs_image" height="" width="" alt="">

<img src="" class="gs_image gs_thumb" height="" width="" alt="">

<a href="" class="gs_image_link" ><img src="" class="gs_thumb" height="" width="" alt="" /></a>


x