Upload Max File SIze
Overview
In this article, we will demonstrate how to restrict the maximum size of a file when uploading on a SharinPix Album or SharinPix Single Image. To do so we will:
Prerequisite:
Before using this feature, ensure:
The SharinPix Package Version 1.340 (or later) is installed; refer to the article below to upgrade your current package: How to upgrade SharinPix package
Creation of SharinPix Permission
- In SharinPix Permissions, create a new record or edit an existing permission.
- Open the Upload section and add a value for the maximum file size in Megabytes.
Assign the SharinPix Permission to the Album component
- On a SharinPix Album, add the ID or Name of the SharinPix Permission record, which includes the maximum file size.
- In this example, the custom permission was named Maximum File Size of 2MB. It has been set in the Custom Permissions Id or Name parameter of a SharinPix Album component.
Tip:
The above will also work for a SharinPix Single Image. The custom permission created should then be defined as a Single Image Permission.
0 Comments
Add your comment