function __construct()
 {
     parent::__construct();
     global $photonic_instagram_disable_title_link;
     $this->provider = 'zenfolio';
     $this->user_agent = "Photonic for " . get_home_url();
     $this->link_lightbox_title = empty($photonic_instagram_disable_title_link);
     $query_url = add_query_arg('dummy', 'dummy');
     $query_url = remove_query_arg('dummy');
     if (stripos($query_url, ':') === FALSE) {
         $protocol = 'http';
     } else {
         $protocol = substr($query_url, 0, stripos($query_url, ':'));
     }
     //$this->service_url = $protocol.'://api.zenfolio.com/api/1.6/zfapi.asmx';
     $this->service_url = 'http://api.zenfolio.com/api/1.8/zfapi.asmx';
     $this->secure_url = 'https://www.zenfolio.com/api/1.8/zfapi.asmx';
     $this->unlocked_realms = array();
 }
 function __construct()
 {
     parent::__construct();
 }