Using Images

Once you have uploaded an image to the server, you can view or download it either through the client, or through the browser at the /files endpoint. For example:

https://your.cloud.instance/files/tree.jpg

Subdirectory Paths

If you have stored images in sub-directories, adjust your path as needed, relative to the '/files' directory.

Sub-directory path example:

https://your.cloud.instance/files/nature/trees/tree.jpg

Image Manipulation

You can perform some simple image resizing -- and sharpening -- by adding some arguments to the image uri.

All options are proportional, so pick a side.

Key Description Default Type Required
w Adjust by width value. nil number N
h Adjust by height value. nil number N
s Sharpen the image by percentage. 0 number N

Examples

Sets the image width (and adjusts height proportionally) to 300 pixels:

https://your.cloud.instance/files/tree.jpg?w=300

Addtionally, sharpen the image 50%:

https://your.cloud.instance/files/tree.jpg?w=300&s=50

File Types

The image manipulation arguments are only valid for PNG, JPG, JPEG, and GIF file types.