8 require_once(CH_DIRECTORY_PATH_CLASSES .
'ChWsbFilesConfig.php');
19 $this->aFilesConfig = array (
20 'icon' => array(
'postfix' =>
'_ri.jpg',
'size_def' => 32,
'square' =>
true),
21 'thumb' => array(
'postfix' =>
'_rt.jpg',
'size_def' => 64,
'square' =>
true),
22 'browse' => array(
'postfix' =>
'_t.jpg',
'size_def' => 240,
'square' =>
true),
23 'browse2x' => array(
'postfix' =>
'_t_2x.jpg',
'size_def' => 480,
'square' =>
true),
24 'file' => array(
'postfix' =>
'_m.jpg',
'size_def' => 600),
25 'original' => array(
'postfix' =>
'.{ext}'),
28 $this->aGlParams = array(
29 'auto_activation' =>
'ch_photos_activation',
30 'mode_top_index' =>
'ch_photos_mode_index',
31 'category_auto_approve' =>
'category_auto_activation_ch_photos',
34 $this->aDefaultAlbums[] =
'profile_cover_album_name';
36 if(!defined(
"FLICKR_PHOTO_RSS"))
37 define(
"FLICKR_PHOTO_RSS",
"https://api.flickr.com/services/rest/?method=flickr.photos.getInfo&api_key=#api_key#&photo_id=#photo#");
38 if(!defined(
"FLICKR_PHOTO_URL"))
39 define(
"FLICKR_PHOTO_URL",
"https://farm#farm#.static.flickr.com/#server#/#id#_#secret##mode#.#ext#");