Options and Settings
When you have completed Installing photos, there are settings you must specify and several options you can set based on your set-up and tastes. We'll go through them in the order they appear in the config.php file.
Some of these are called "binary" options. If these options are set to 1 then they are on or enabled, if they are set to 0, then they are off or disabled.
- $custom->entry_state - This can be left blank or can be set to the state you take most of your photos in. Whatever you put here will be pre-filled for you when you are entering new photos. For example: CA
- $custom->entry_country - This can be left blank or can be set to the country you take most of your photos in. Whatever you put here will be pre-filled for you when you are entering new photos. For example: USA
- $custom->default_photographer - This can be left blank or can be set to the the person who takes most of the photos you are storing in photos. Whatever you put here will be pre-filled for you when you are entering new photos. For example: Alex King
- $custom->import_IPTC_data - Set this to 1 to import IPTC data from photos that have IPTC data, or set it to 0 to ignore any IPTC data that may exist in the photos.
- $custom->load_folder_path - This can be left blank or can be set to the path of the folder your photos are in. Whatever you put here will be pre-filled for you when you are entering new photos. For example: gallery_photos/2003/
- $custom->preview_size_landscape - This sets the default size of the longest edge in pixels for viewing landscape (wide) photos in the view/edit screens. Allowed values are: 800, 640 and 320.
- $custom->preview_size_portrait - This sets the default size of the longest edge in pixels for viewing portrait (tall) photos in the view/edit screens. Allowed values are: 800, 640 and 320.
- $custom->date_format - This defines the order that the date elements are presented in. You can use any character besides y, m and d as the separator. Default valye is m/d/y, examples of other supported formats are y-m-d, d.m.y.
- $custom->server_time_difference - If you are in a different time zone than your web server, set this to the number of hours ahead or behind you are. If you are ahead the number will be positive 3, if you are behind the number will be negative -2.
- $custom->date_picker_months - This defines the number of months that are shown in the date picker. The default is 3.
- $custom->ignore_hidden_files - Set this to 1 to ignore files that begin with '.', or set it to 0 to load those files as well.
- $custom->local_server - Set this to 1 if you are running photos on your local computer (or on a computer on a local network that you have mounted on your local computer), or set it to 0 if you are running photos on a remote web server (not recommended due to bandwidth and storage considerations).
- $custom->delete_file - Set this to 1 if you want to , or set it to 0 to not check for new versions of tasks. If this is set to 0, it will not check for beta versions either regardless of the $custom->use_beta setting.
- $custom->minimize_data_transfer - Set this to 1 create a smaller version of the photo to be transferred and displayed in your browser (recommended), or set it to 0 to transfer the whole original photo.
- $custom->check_for_updates - Set this to 1 to check for the latest version of photos on the About screen, or set it to 0 to not check for new versions of photos. If this is set to 0, it will not check for beta versions either regardless of the $custom->use_beta setting.
- $custom->use_beta - Set this to 1 to check for the latest beta version of photos on the About screen, or set it to 0 to not check for new beta versions of photos.