public function getImages2JSON($config = array())
 {
     parent::getImages2JSON($config);
     if ($this->_syncmode == true) {
         // get sync images if sync feature is enabled
         $this->getSyncImages($config);
     }
     return $this->_data['images'];
 }
 public function removeShowlist()
 {
     if ($this->_source['profileTable']->load($this->_showlistTable->image_source_profile_id)) {
         $this->_source['profileTable']->delete();
     }
     parent::removeShowlist();
 }