Your IP : 18.222.248.107
# Раздел "Фотогалерея 2.0" (список альбомов, реализованный через компонент Фотогалерея 2.0)
## Код подключения компонента
```
<?$APPLICATION->IncludeComponent(
"bitrix:photogallery",
"tiles",
array(
"ADDITIONAL_SIGHTS" => array(
),
"ALBUM_PHOTO_SIZE" => "600",
"ALBUM_PHOTO_THUMBS_SIZE" => "400",
"CACHE_TIME" => "3600",
"CACHE_TYPE" => "A",
"DATE_TIME_FORMAT_DETAIL" => "d.m.Y",
"DATE_TIME_FORMAT_SECTION" => "d.m.Y",
"DRAG_SORT" => "Y",
"ELEMENTS_PAGE_ELEMENTS" => "50",
"ELEMENT_SORT_FIELD" => "sort",
"ELEMENT_SORT_ORDER" => "desc",
"IBLOCK_ID" => "21",
"IBLOCK_TYPE" => "content",
"JPEG_QUALITY" => "100",
"JPEG_QUALITY1" => "100",
"ORIGINAL_SIZE" => "1280",
"PAGE_NAVIGATION_TEMPLATE" => "",
"PATH_TO_FONT" => "default.ttf",
"PATH_TO_USER" => "",
"PHOTO_LIST_MODE" => "Y",
"SECTION_PAGE_ELEMENTS" => "15",
"SECTION_SORT_BY" => "UF_DATE",
"SECTION_SORT_ORD" => "DESC",
"SEF_MODE" => "Y",
"SET_TITLE" => "Y",
"SHOWN_ITEMS_COUNT" => "20",
"SHOW_LINK_ON_MAIN_PAGE" => array(
0 => "id",
1 => "shows",
2 => "rating",
3 => "comments",
),
"SHOW_NAVIGATION" => "N",
"SHOW_TAGS" => "N",
"THUMBNAIL_SIZE" => "400",
"UPLOAD_MAX_FILE_SIZE" => "8",
"USE_COMMENTS" => "N",
"USE_LIGHT_VIEW" => "Y",
"USE_RATING" => "N",
"USE_WATERMARK" => "N",
"WATERMARK_MIN_PICTURE_SIZE" => "800",
"WATERMARK_RULES" => "USER",
"COMPONENT_TEMPLATE" => "tiles",
"SEF_FOLDER" => "/_optima/photogallery-2/",
"INDEX_PAGE_TOP_ELEMENTS_COUNT" => "6",
"SEF_URL_TEMPLATES" => array(
"index" => "index.php",
"section" => "#SECTION_ID#/",
"section_edit" => "#SECTION_ID#/action/#ACTION#/",
"section_edit_icon" => "#SECTION_ID#/icon/action/#ACTION#/",
"upload" => "#SECTION_ID#/action/upload/",
"detail" => "#SECTION_ID#/#ELEMENT_ID#/",
"detail_edit" => "#SECTION_ID#/#ELEMENT_ID#/action/#ACTION#/",
"detail_list" => "list/",
"search" => "search/",
),
"WP_DETAIL_TEMPLATE" => "slider"
),
false
);?>
```