| Name |
Name the property com.glide.attachment.max_get_size. |
| Type |
Select integer from the drop-down. |
| Value |
Enter the maximum bytes allowed for an uploaded image. The default value is 5242880 bytes (5 MB), but you can increase this up to 10485760 bytes (10 MB) or down to 102400 bytes (100 KB).
- Megabytes (MB)
- If the equivalent MB value has a decimal and is between 1 MB and 10 MB, the value is rounded down to the next whole MB. For example, if you enter 4980736 bytes (4.75 MB), the
maximum size will be 4194304 (4 MB).
- Kilobytes (KB)
- If the value is less than 1 MB, the equivalent KB value is rounded down to the next whole KB. For example, if the value is 580608 bytes (567 KB), the maximum size limit is rounded
down to 512000 bytes (500 KB).
- Less or greater than 5 MB
- Images smaller than 5242880 bytes (5 MB) are scaled down. Images that are larger than 5 MB are not scaled and the system creates a link instead.
- Greater than 10 MB
- If the value is more than 10 MB, such as 12582912 bytes (12 MB), the maximum size defaults to 10485760 bytes (10 MB).
- 100 KB minimum
- If the value is less than 102400 bytes (100 KB), such as 91136 bytes (89 KB), the maximum size defaults to 102400 bytes (100 KB).
|