Controlling resolution and other parameters of an uploaded image

Modified on Thu, Feb 15, 2018 at 10:09 AM

Controlling resolution and other parameters of an uploaded image

Command to use: select

Status command options:

upload:                Allow Uploading

uploadonly: Allows uploading without showing image selector

 

minres                  ' Minimum allowed resolution in dpi

minsize                                ' Minimum file size in Mb

maxsize               ' Maximum file size in Mb

minwidth            ' Minimum allowed width in the specified unit (defaullt: px)

minheight           ' Minimum allowed height in the specified unit (defaullt: px)

aspectratio         ' Allowed aspect ratio (Width/Height)

exactwidth         ' Upload image width should match exactly

exactheight        ' Upload image height should match exactly

unit                        ' unit used in widths an heights (in cm px)

recres                   ' Recommended resoultion, has no effect

 

NEW

In addition to Personal, Company or a file path use:

temp  for a temporary folder location for upload

 

Example:

minres=300   minsize=3  maxsize=10 mindim=1240 minwidth=1240 minheight=888 aspectratio=1.4


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article