+ public function getPhotoName($idx)
+ {
+ if($details = $this->get_photo_details($idx)) {
+
+ $name = $details['name'];
+
+ if(strlen($name) > 15) {
+ $name = substr($name, 0, 10) ."...". substr($name, -10);
+ }
+
+ return $name;
+
+ }
+
+ } // getPhotoName()
+