The GetFile.aspx script is used in many cases to retrieve the uploaded from from the database. It is called whether you use /getdoc, /getattachment or direct URL based on alias path of the cms.file document.
The GetFile.aspx script accepts the following URL parameters:
Parameter Name
|
Description
|
Sample Value
|
guid
|
Attachment GUID value
|
|
nodeguid
|
Node GUID value
|
|
versionhistoryid
|
Version history ID of the attachment. It can only be used together with guid parameter.
|
|
width
|
Resizes the image to specified width (in pixels).
|
100
|
height
|
Resizes the image to specified height (in pixels).
|
400
|
maxsidesize
|
Resizes the image to the specified size of the longest side (in pixels).
|
500
|
disposition
|
Indicates the output disposition of the file. You can use either inline (opens the file in the browser window if possible) or attachment disposition (opens the "Save or Open" dialog).
|
inline
or
attachment
|
|