If you allow your users to post attachments, it is important to be able to control your board's attachments settings. Here, you can configure the main settings for attachments and the associated special categories. When you are done configuring your board's attachments settings, click Submit.
Allow attachments: If you want attachments to be enabled on your board, select Yes.
Allow attachments in private messages: If you want to enable attachments being posted in private messages, select Yes.
Upload directory: The directory that attachments will be uploaded to. The default directory is
Attachment display order: The order that attachments will be displayed, based on the time the attachment was posted.
Total attachment quota: The maximum drive space that will be available for all of your board's attachments. If you want this quota to be unlimited, use a value of 0.
Maximum filesize: The maximum filesize of an attachment allowed. If you want this value to be unlimited, use a value of 0.
Maximum filesize messaging: The maximum drive space that will be available per user for attachments posted in private messages. If you want this quota to be unlimited, use a value of 0.
Max attachments per post: The maximum number of attachments that can be posted in a post. If you want this value to be unlimited, use a value of 0.
Max attachments per message: The maximum number of attachments that can be posted in a private message. If you want this value to be unlimited, use a value of 0.
Enable secure downloads: If you want to be able to only allow attachments to be available to specific IP addresses or hostnames, this option should be enabled. You can further configure secure downloads once you have enabled them here; the secure downloads-specific settings are located in the Define allowed IPs/Hostnames and Remove or un-exclude allowed IPs/hostnames forms at the bottom of the page.
Allow/Deny list: This allows you to configure the default behaviour when secure downloads are enabled. A whitelist (Allow) only allows IP addresses or hostnames to access downloads, while a blacklist (Deny) allows all users except those who have an IP address or hostname located on the blacklist. This setting only applies if secure downloads are enabled.
Allow empty referrer: Secure downloads are based on referrers.This setting controls if downloads are allowed for those omitting the referrer information. This setting only applies if secure downloads are enabled.
Check attachment files: Some browsers can be tricked to assume an incorrect mimetype for uploaded files. This option ensures that such files likely to cause this are rejected. It is recommended that you leave this setting enabled.
Image Category Settings
Display images inline: How image attachments are displayed. If this is set to No, a link to the attachment will be given instead, rather than the image itself (or a thumbnail) being displayed inline.
Create thumbnail: This setting configures your board to either create a thumbnail for every image attached, or not.
Maximum thumbnail width in pixels: This is the maximum width in pixels for the created thumbnails.
Maximum thumbnail filesize: Thumbnails will not be created for images if the created thumbnail filesize exceeds this value, in bytes. This is useful for particularly large images that are posted.
Maximum image dimensions: The maximum size of image attachments, in pixels. If you would like to disable dimension checking (and thereby allow image attachments of any dimensions), set each value to 0.
Image link dimensions: If an image attachment is larger than these dimensions (in pixels), a link to the image will be displayed in the post instead. If you want images to be displayed inline regardless of dimensions, set each value to 0.
Define Allowed/Disallowed IPs/Hostnames
IP addresses or hostnames: If you have secure downloads enabled, you can specify the IP addresses or hostnames allowed or disallowed. If you specify more than one IP address or hostname, each IP address or hostname should be on its own line. Entered values can have wildcards (*). To specify a range for an IP address, separate the start and end with a hyphen (-).
Exclude IP from [dis]allowed IPs/hostnames: Enable this to exclude the entered IP(s)/hostname(s).
Licensed under the CC Attribution-NonCommercial-ShareAlike 3.0 license