Commit e9c39d0f authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

fixed page number

parent d3cc6629
...@@ -213,9 +213,14 @@ function elphel_specific_result_name($file){ ...@@ -213,9 +213,14 @@ function elphel_specific_result_name($file){
$k=$chn+6; $k=$chn+6;
} }
}else{
$ks = $exif['PageNumber'];
if (count($ks==2)){
$k = $ks[0];
}else{ }else{
$k = intval($exif['PageNumber'])+1; $k = intval($exif['PageNumber'])+1;
} }
}
}else{ }else{
$k = intval($exif['PageNumber'])+1; $k = intval($exif['PageNumber'])+1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment