email)) { // Federated Servers are not supported here without libravatar.org. Should query DNS server first. if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') { $url = "https://seccdn.libravatar.org"; } else { $url = "http://cdn.libravatar.org"; } $url .= "/avatar/"; $url .= md5(strtolower(trim($user->email))); $url .= "?s=" . $size . "&r=g"; $url .= "&d=identicon"; } return $url; } /** * load * This loads up the data we need into this object, this stuff comes * from the preferences. */ public function load($user) { return true; } // load } // end AmpacheLibravatar ?>