Upload Options

 

Introduction

The Uploads tab in Options only applies to the Backend.  For the Frontend see the User Groups Settings.

Also see the Monitoring tab options and note that the file extensions allowed there may be different from those specified in this section.

If creating or editing a Download from the button downloads  button on the Control panel, then the default file extensions when uploading in the backend are those specified here, that is are zip, rar, pdf, doc and txt.
But if using Auto Monitoring, for example by using the button check button, then the default file extensions are zip, rar,exe, pdf, doc,gif, jpg and png.

There are five sections:
Backend Upload options;
Allowed File Extensions for images and file uploading;
File Naming options;
Notes on Uploader log.

Backend Upload Options


There are four options that relate to uploading a file when creating or editing a Download in the Backend. These are 'Uploader Runtime', 'Maximum Files Size (MB)', the 'Chunk Size' and the 'Unit fo Chunk Size'.

The default settings for these options are as shown opposite.
uploads01
There are various Runtime choices as illustrated opposite.

The default of 'All runtimes' will auto select a runtime that works in your current browser, except in very particular situations.

If you do experience one of these rare cases the seek assistance in the Forum . (opens in a new wind/tab)
uploads01A
The 'Maximum File Size' option limits the size that you may upload in the backend.  jDownloads inserts a note below it showing a setting from your active php.ini file that specifies the absolute maximum as defined for your website.

For example on my test site the message is button maxsize.  So technically the maximum size of an upload could be 102 Mbyte.  In practice it is advisable to leave say a 2MB margin.

The other two options relate to situations where there is a very poor Internet connection or your upload size is smaller than the size of the file you wish to upload.

The 'chunk size' tells jDownloads to upload in multiple stages with each stage being equal to, or in the case of the last chunk less than or equal to, the specified size.

Allowed File Extensions

The two options 'Allowed Image Extensions' and 'Other allowed File Extensions' specify which files types maybe uploaded to create a Download in the Backend.uploads02
When it is an allowed type of image file that is uploaded  then a Download will be created where the downloadable file is the image file. 

But also jDownloads will create a thumbnail of the uploaded image file and include that in the Download as illustrated opposite when using a layout such as 'Files Layout Full Info v3.9', 'Standard Files Layout v3.9 ad similar.  That is basically not the 'compact' layouts
uploads02A

File Naming

When set to Yes, the option 'Enable File Rename' allows renaming files in the upload queue.

The second option, 'Unique Names' will, when set to Yes, generate a random file name so that it does not collide with existing names in the same category.
uploads03

Image Resizing

The default for option 'Enable Image Resizing' is No.

If set to Yes then three further options  'Width', 'Height' and 'Quality' are shown.

The width and height are set in pixels.

The quality setting , which is a percentage, only applies to jpg images.
uploads03Buploads03A
Note: Resizing only works for .png and .jpg images and needs either Firefox or Chrome.

Uploader Log

The default for option 'Show Uploader Log' is No.

If set to Yes then it displays the upload logs when the uploader state changes.
uploads04

ColinM June 2020, modified May 2023

Print Email

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.