Email. hello@digitalelite.co.uk | Tel. 020 8050 1385

Options

Styling

Customise the style of your folder display by specifying colour values for various aspects of the table view design, as well as the "loading" spinner. A neutral grey styling is applied by default.

Parameter Example Notes
Table Head Colour #A8A8A8
Table Head Separator Colour #EEEEEE
Table Link Colour #A8A8A8
Table Link Hover Colour #A8A8A8
Loading Spinner Colour #A8A8A8

Other

Parameter Example Notes
Allow root folder listing Disabled for security reasons, to display the root folder this must be enabled
Allow front-end file uploads Disabled for security reasons, this must be enabled to allow front-end file uploads
Allowed upload file types png,PNG,jpg,JPG
Disable signed URLs (bucket must be publicly accessible) Disabled by default all files are automatically signed using s3 link signing meaning you S3 bucket can be set to private and still work with WPS3Files
Signed URL expires after 20 Minutes by default signed URLs expiry after 20 minutes. However, new URLs are generated on every page load. If you wish to share links you should use the Links page to generate these individually
Allow comments on file uploads Enabled
Automatically create thumbnail images Enabled Optionally WPS3Files can use the AWS Lambda service to automatically crop all uploaded images, display the cropped (smaller) images on your WordPress site. This is idea of photography sites or media libraries where loading pages with large images would significantly effect page load times.
Enable Google Analytics Integration Enabled

Secure URL Masking

For information on Secure URL Masking (enabled by default) please see the information in the Security section.

Enable URL Sharing

URL sharing enables "friendly" and shareable URLs whereby instead of the default file link e.g.

https://digitalelite.blob.core.windows.net/colt-test/Images/Logo/b&w-logo.jpeg?se=2019-02-24T18%3A36%3A54Z&sr=b&sp=r&sig=KWWAi3JVp7yYAO4LeWG0iYG12ElAXTAqV6F0PM0zK0E%3D&sv=2014-02-14

Links are changed such that they appear to come from your website e.g.

https://www.mywpmedia.com/file/Images/Logo/b&w-logo.jpeg

These friendly links do not include access keys such that they can be shared (such as in PDF files and emails) and will never expire. Access signatures still get generated for security but these are hidden from the user behind a shareable link.

With URL sharing enabled the process is as follows:

  1. Link is clicked
  2. URL Routing picks up the URL with /file/ and calls the API to look up the key.
  3. The secure link with access signature is dynamically generated
  4. The file is downloaded to the server in a temporary directory
  5. This file is then pushed to the local machine
  6. The temporary file is deleted

URL sharing is intended for environments where access to the WordPress installation is restricted, such as internal Intranet environments, or for applications where secure file links are not required. Enabling it reveals the full path to the files in HTML code e.g.:

https://www.yoursite.com/file/folder-1/folder-2/folder-3/filename.doc

Re-Saving Permalinks

Previously changes to 'Enable URL Sharing' and 'Secure URL Masking' require resaving permalinks (https://www.yoursite.com/wp-admin/options-permalink.php and click the 'save changes' button) in order to flush WordPress rewrite rules.

This is now handled automatically. The flush_rewrite_rules function is called both when the plugin is first activated and when either of these options are changed.

Preview Images

When you upload image files (such as .jpeg, .png, .gif or .pdf) we automatically generate thumbnail previews for your uploaded files. This allows us to display file previews when you are managing files in the backend, and when your customers are viewing files in the front-end. For file types where previews cannot be created we have pre-set fallback images.

Thumbnails are dynamically generated for:

  • JPEG
  • JPG
  • PNG
  • PDF

Thumbnails are statically set for:

  • DOC/DOCX
  • XLS/XLSX/CSV
  • PPT/PPTX
  • MOV

A fallback image is enabled for all other file types not listed above.

Note: image preview functionality requires some third parties libraries as detailed under Support -> System Settings. All preview files will be stored in the following directory on your WordPress server: /uploads/cache/images/.