Play images and video from Synology PhotoStation server

1234
  1. <?php
  2. define('THUMB_CONF_WEBAPI_SERVICE_INCLUDE_PATH', dirname(__FILE__) . '/webapi.inc.php');
  3. $SYNOPHOTO_ALLOW_ID_TYPE = array('photo', 'video', 'album', 'smart', 'virtual', 'tag', 'defaultsmart', 'sharedalbum', 'publicshare');
  4. $SYNOPHOTO_ID_TYPE_LEN = array('photo' => 3, 'video' => 3, 'album' => 2, 'smart' => 2, 'virtual'=> 2, 'tag' => 2, 'defaultsmart' => 2, 'sharedalbum' => 2, 'publicshare' => 2);