f ($do_rotate == 1) { $rotimage = singleslash($config["photo_root"] . "/" . rawurldecode($_GET["album"]) ."/" . $image_name); $cimage = new ImageResize($rotimage); $cimage->set_params( array( "quality" => "100", "rotate" => $rotate ) ); $cimage->convert_r(); /* delete all cached resized copies of the image * (function is defined in common.inc.php) */ delimage_cache (rawurldecode($_GET["album"]), $image_name); $msg[$i+1] = $image_name . $lang_akt["admin_rotimage_status1"]; } } } return $msg; } $uri_base = str_replace("&admintask=Rotate","",$global_var['self_url']); if(isset($_POST['BeenSubmitted'])) { $msg = HandleForm(); } if(isset($_POST['BeenSubmittedPreview'])) { $msg = SetPreviewNumber(); } $album->read_dir(); $album->sort_dir(); $page["album_images"] = $album->count_images(); /* if the preview_per_page is not initialized (eg after upgrade) set it to a default value of 25 */ if ($config_album['mini_images_per_page'] < 1 ) { $config_album['mini_images_per_page'] = 25; } /* prepare all page-navigation links */ $prevnext = page_pn(); ?>
 
   

get_imagename($i); /* Test if file is an image. Only images get rotated! */ $nav_icon = nav_icons($selected_album, $image_name); ?>
[ ]
       
 
 
"> 0) { foreach($prevnext["navlinks"] as $navlink) { ?>
"><<  " . $navlink["page"] . " "; } else { ?>">  ">>>
">
 
   
  alt="">   no image
 
"> 0) { foreach($prevnext["navlinks"] as $navlink) { ?>
"><<  " . $navlink["page"] . " "; } else { ?>">  ">>>
">