Files Gallery 0.8.4

demo.files.gallery
PHP 8.2.17
Apache/2.4.58 (Unix) OpenSSL/1.0.2g

* The following tests are only to help diagnose feature-specific issues.

root is_writeable
storage_path is_writeable
gd
exif
mbstring
ZipArchive
mime_content_type()
finfo_file()
iptcparse()
exif_imagetype()
session_start()
ini_get()
exec()
ffmpeg
memory_limit: 1024M
file_uploads: 1
upload_max_filesize: 512M
post_max_size: 1024M
max_file_uploads: 100

Config

<?php

// LOCAL CONFIG [2]
// _filesconfig.php
return array (
  
'root' => './content',
  
'start_path' => './content/balloons',
);

// STORAGE CONFIG [15]
// _files/config/config.php
return array (
  
'image_resize_memory_limit' => 1024,
  
'image_resize_max_pixels' => 0,
  
'image_resize_cache_direct' => true,
  
'menu_cache_validate' => false,
  
'allow_tasks' => '***',
  
'license_key' => '***',
  
'download_dir_cache' => 'storage',
  
'allow_upload' => true,
  
'allow_delete' => true,
  
'allow_rename' => true,
  
'allow_new_folder' => true,
  
'allow_new_file' => true,
  
'allow_duplicate' => true,
  
'allow_text_edit' => true,
  
'demo_mode' => true,
);

// USER CONFIG [17]
// User config parameters.
$user = array (
  
'image_resize_memory_limit' => 1024,
  
'image_resize_max_pixels' => 0,
  
'image_resize_cache_direct' => true,
  
'menu_cache_validate' => false,
  
'allow_tasks' => '***',
  
'license_key' => '***',
  
'download_dir_cache' => 'storage',
  
'allow_upload' => true,
  
'allow_delete' => true,
  
'allow_rename' => true,
  
'allow_new_folder' => true,
  
'allow_new_file' => true,
  
'allow_duplicate' => true,
  
'allow_text_edit' => true,
  
'demo_mode' => true,
  
'root' => './content',
  
'start_path' => './content/balloons',
);

// CONFIG [74]
// User parameters merged with default parameters.
$config = array (
  
'root' => './content',
  
'start_path' => './content/balloons',
  
'username' => '',
  
'password' => '',
  
'load_images' => true,
  
'load_files_proxy_php' => false,
  
'load_images_max_filesize' => 1000000,
  
'image_resize_enabled' => true,
  
'image_resize_cache' => true,
  
'image_resize_dimensions' => 320,
  
'image_resize_dimensions_retina' => 480,
  
'image_resize_dimensions_allowed' => '',
  
'image_resize_types' => 'jpeg, png, gif, webp, bmp, avif',
  
'image_resize_quality' => 85,
  
'image_resize_function' => 'imagecopyresampled',
  
'image_resize_sharpen' => true,
  
'image_resize_memory_limit' => 1024,
  
'image_resize_max_pixels' => 0,
  
'image_resize_min_ratio' => 1.5,
  
'image_resize_cache_direct' => true,
  
'folder_preview_image' => true,
  
'folder_preview_default' => '_filespreview.jpg',
  
'menu_enabled' => true,
  
'menu_show' => true,
  
'menu_max_depth' => 5,
  
'menu_sort' => 'name_asc',
  
'menu_cache_validate' => false,
  
'menu_load_all' => false,
  
'menu_recursive_symlinks' => true,
  
'layout' => 'rows',
  
'sort' => 'name_asc',
  
'sort_dirs_first' => true,
  
'sort_function' => 'locale',
  
'cache' => true,
  
'cache_key' => 0,
  
'storage_path' => '_files',
  
'files_exclude' => '',
  
'dirs_exclude' => '',
  
'allow_symlinks' => true,
  
'title' => '%name% [%count%]',
  
'history' => true,
  
'transitions' => true,
  
'click' => 'popup',
  
'click_window' => '',
  
'click_window_popup' => true,
  
'code_max_load' => 100000,
  
'topbar_sticky' => 'scroll',
  
'check_updates' => false,
  
'allow_tasks' => '***',
  
'get_mime_type' => false,
  
'context_menu' => true,
  
'prevent_right_click' => false,
  
'license_key' => '***',
  
'filter_live' => true,
  
'filter_props' => 'name, filetype, mime, features, title',
  
'download_dir' => 'browser',
  
'download_dir_cache' => 'storage',
  
'assets' => '',
  
'allow_upload' => true,
  
'allow_delete' => true,
  
'allow_rename' => true,
  
'allow_new_folder' => true,
  
'allow_new_file' => true,
  
'allow_duplicate' => true,
  
'allow_text_edit' => true,
  
'demo_mode' => true,
  
'upload_allowed_file_types' => '',
  
'upload_max_filesize' => 0,
  
'upload_exists' => 'increment',
  
'popup_video' => true,
  
'video_thumbs' => true,
  
'video_ffmpeg_path' => 'ffmpeg',
  
'lang_default' => 'en',
  
'lang_auto' => true,
);

// DEFAULT CONFIG [74]
// Default config parameters.
$default = array (
  
'root' => '',
  
'start_path' => false,
  
'username' => '',
  
'password' => '',
  
'load_images' => true,
  
'load_files_proxy_php' => false,
  
'load_images_max_filesize' => 1000000,
  
'image_resize_enabled' => true,
  
'image_resize_cache' => true,
  
'image_resize_dimensions' => 320,
  
'image_resize_dimensions_retina' => 480,
  
'image_resize_dimensions_allowed' => '',
  
'image_resize_types' => 'jpeg, png, gif, webp, bmp, avif',
  
'image_resize_quality' => 85,
  
'image_resize_function' => 'imagecopyresampled',
  
'image_resize_sharpen' => true,
  
'image_resize_memory_limit' => 128,
  
'image_resize_max_pixels' => 30000000,
  
'image_resize_min_ratio' => 1.5,
  
'image_resize_cache_direct' => false,
  
'folder_preview_image' => true,
  
'folder_preview_default' => '_filespreview.jpg',
  
'menu_enabled' => true,
  
'menu_show' => true,
  
'menu_max_depth' => 5,
  
'menu_sort' => 'name_asc',
  
'menu_cache_validate' => true,
  
'menu_load_all' => false,
  
'menu_recursive_symlinks' => true,
  
'layout' => 'rows',
  
'sort' => 'name_asc',
  
'sort_dirs_first' => true,
  
'sort_function' => 'locale',
  
'cache' => true,
  
'cache_key' => 0,
  
'storage_path' => '_files',
  
'files_exclude' => '',
  
'dirs_exclude' => '',
  
'allow_symlinks' => true,
  
'title' => '%name% [%count%]',
  
'history' => true,
  
'transitions' => true,
  
'click' => 'popup',
  
'click_window' => '',
  
'click_window_popup' => true,
  
'code_max_load' => 100000,
  
'topbar_sticky' => 'scroll',
  
'check_updates' => false,
  
'allow_tasks' => false,
  
'get_mime_type' => false,
  
'context_menu' => true,
  
'prevent_right_click' => false,
  
'license_key' => '',
  
'filter_live' => true,
  
'filter_props' => 'name, filetype, mime, features, title',
  
'download_dir' => 'browser',
  
'download_dir_cache' => 'dir',
  
'assets' => '',
  
'allow_upload' => false,
  
'allow_delete' => false,
  
'allow_rename' => false,
  
'allow_new_folder' => false,
  
'allow_new_file' => false,
  
'allow_duplicate' => false,
  
'allow_text_edit' => false,
  
'demo_mode' => false,
  
'upload_allowed_file_types' => '',
  
'upload_max_filesize' => 0,
  
'upload_exists' => 'increment',
  
'popup_video' => true,
  
'video_thumbs' => true,
  
'video_ffmpeg_path' => 'ffmpeg',
  
'lang_default' => 'en',
  
'lang_auto' => true,
);

;
?>