Skip to content

File uploads ​

/dashboard/settings/file-uploads

File uploads settings control who can upload, which files are accepted, how the uploader behaves, and how uploaded files are named, sized and stored.

Enabled file extensions ​

Determines which file formats can be uploaded. Only checked extensions are accepted.

TypeExtensions
Images.avif .jxl .jpg .jpeg .png .bmp .gif .webp
Videos.mov .mp4 .webm

All extensions are enabled by default except .jxl. Enabling .jpg also accepts .jpeg files.

A format your server can't process is shown disabled, with the tooltip Unsupported in your server. Such formats are also removed from the enabled list automatically. Format support depends on the image library (Imagick or GD) installed on your server.

Enable uploads ​

Toggles file uploads for users.

ValueEffect
EnabledUsers can upload files
DisabledOnly administrators can upload

This setting doesn't affect administrators, who can always upload. Guests also need guest uploads enabled.

Enable uploads (URL) ​

Toggles uploading files from a URL, where the server downloads the file instead of the browser sending it.

WARNING

Uploading from URL exposes your server IP address to the remote host. For this reason, this feature is available only for administrators, both in the website and in the API.

This setting is shown only when CHEVERETO_ENABLE_UPLOAD_URL is set to 1 (default). See Toggles.

Upload user interface ​

Determines how the uploader is shown when users click Upload.

ValueEffect
On-page containerThe uploader opens on top of the current page (default)
/upload routeUsers are taken to the /upload page

Guest uploads ​

Toggles file uploads for guests (users who aren't logged in).

ValueEffect
EnabledGuests can upload files
DisabledGuests must log in to upload

Guest uploads are always disabled when the website mode is Single profile, and when CHEVERETO_ENABLE_GUESTS is set to 0.

Guest albums ​

Toggles album creation for guests in the uploader.

ValueEffect
EnabledGuests can create albums
DisabledGuests can't create albums

Guest albums are always disabled when the website mode is Single profile, and when CHEVERETO_ENABLE_GUESTS is set to 0.

Moderate uploads ​

Pro feature

Upload moderation is available in Chevereto Pro. If CHEVERETO_ENABLE_MODERATION is set to 0, uploads are never moderated, whatever is set here.

Determines which incoming uploads must be approved before they are published.

ValueEffect
DisabledNo moderation, all uploads are published right away
GuestGuest uploads require approval
AllAll uploads require approval, except from administrators and managers

Uploads waiting for approval aren't shown in listings and their page returns HTTP 403 until approved. Approve them from Dashboard > Files.

This setting can't be changed when the website mode is Single profile.

Not safe content checkbox in uploader ​

Toggles the NSFW checkbox in the uploader, which lets users flag their uploads as not safe for work.

ValueEffect
EnabledThe uploader shows the NSFW checkbox
DisabledThe uploader hides the NSFW checkbox

How NSFW files are shown is controlled by content settings.

Enable embed codes (uploader) ​

Toggles the embed codes (links, HTML and BBCode) shown in the uploader once the upload completes.

ValueEffect
EnabledEmbed codes are shown after upload (default)
DisabledNo embed codes are shown after upload

When the upload is held for moderation, the uploader shows a notice instead of the embed codes.

Upload threads ​

The number of files the uploader sends at the same time (parallel uploads). Default is 2, minimum is 1.

Higher values make large batches finish faster but increase the load on your server. Set it according to your server hardware and how busy your website is.

Redirect on single upload ​

Toggles redirecting to the file page after uploading a single file.

ValueEffect
EnabledUploading one file opens its page
DisabledThe uploader stays open showing the result (default)

The redirect happens only when one file was uploaded with no errors. It doesn't happen when the upload is held for moderation, or when the uploader runs in a popup window, such as from the upload plugin.

Enable duplicate uploads ​

Toggles accepting the same file twice.

ValueEffect
EnabledDuplicate files are accepted
DisabledA file already uploaded from the same IP in the last 24 hours is rejected with Duplicated upload (default)

Files are compared by their checksum. This setting doesn't affect administrators.

Enable expirable uploads ​

Toggles expirable uploads, which are deleted automatically after a chosen time.

ValueEffect
EnabledUsers can set an auto delete time for uploads (default)
DisabledUploads don't expire

When enabled, the uploader shows an Auto delete option, from 5 minutes up to 1 year. Users can also set a default for all their uploads in their account settings, and override it on each upload.

Auto delete guest uploads ​

Forces an auto delete time on all guest uploads.

ValueEffect
Don't auto deleteGuests choose like users do (default)
After n timeGuest uploads are deleted after this time, guests can't change it

This setting requires expirable uploads enabled.

Maximum image size ​

The maximum width and height, in pixels, for uploaded images. Larger images are downsized to fit, keeping their aspect ratio.

Use 0 for no limit (default).

Image Exif data ​

Determines what happens to the image Exif data on upload, such as camera model and location.

ValueEffect
KeepExif data is kept in the image (default)
RemoveExif data is removed from the image

This is the default for the website. It applies to guests, and to users when Image Exif data (user setting) is disabled.

Image Exif data (user setting) ​

Toggles letting each user choose how their image Exif data is handled.

ValueEffect
EnabledUsers choose with Keep EXIF data in their account settings (default)
DisabledImage Exif data applies to everyone

Maximum upload file size (MB) ​

The maximum file size allowed for user uploads, in megabytes.

This value is capped by CHEVERETO_MAX_UPLOAD_SIZE (default 100M), shown as Maximum value below the field. A value over the cap is lowered to it. See Limits.

TIP

The website uploader sends large files in chunks, so PHP's upload_max_filesize and post_max_size limit each chunk, not the whole file. The chunk size is set by CHEVERETO_MAX_CHUNK_UPLOAD_SIZE. Uploads made without chunks, such as from the API, are still limited by your PHP configuration.

Maximum upload file size (guests) ​

Same as maximum upload file size, but for guests. Default is 10 MB.

File path ​

The folder where uploads are stored when using local storage, relative to the Chevereto root. Default is images. The folder must exist, or the setting is rejected with Invalid upload image path.

This setting is shown only when CHEVERETO_ENABLE_LOCAL_STORAGE is set to 1 (default). External storages are configured in upload storage.

Storage mode ​

How uploads are organized in folders.

ValueEffect
DatefoldersUses nested folders by upload date, YYYY/MM/DD (default)
DirectNo folders, all files are stored in the same place

💡 Changing this setting only affects new uploads. Existing files aren't moved.

File naming method ​

How uploaded files are named. In this example, the source file is DSC 1313.jpg.

ValueEffectExample
OriginalKeep the original file name (default)DSC-1313.jpg
RandomA random name of 32 alphanumeric charactersbJdrpmdfiK2u...jpg
Mix original + randomThe original name followed by 16 random charactersDSC-1313pLfm3Xz9QaB7cR2w.jpg
IDThe file public (encoded) IDkIf.jpg

Original names are cleaned up: accents are removed, spaces become hyphens, and characters other than letters, numbers, hyphens, underscores and dots are removed.

When a file with the same name already exists, Original falls back to Mix original + random, and Random and Mix original + random pick a new random part.

Files uploaded as private (private, password protected or private but link) always get a Random name, unless the method is ID. This prevents guessing their URL from the original file name.

Thumb size ​

The width and height, in pixels, of the thumbnails used in listings. Thumbnails are cropped to this exact size. Default is 320 × 320, minimum is 16.

Changing this setting only affects new uploads.

Medium image fixed dimension ​

Determines which dimension of the medium-sized image is fixed to the medium image fixed size. The other dimension is calculated from the image aspect ratio.

ValueEffect
WidthFixes the width, height is calculated (default)
HeightFixes the height, width is calculated

Medium image fixed size ​

The size, in pixels, of the fixed dimension of the medium-sized image, used in listings and on the file page. Default is 500, minimum is 16.

Changing this setting only affects new uploads.

Released under the Apache-2.0 License.