You are looking at the old Apostrophe 0.5 documentation. It is deprecated for new projects. Check out the latest version!

Files

← Previous: apostrophe - core CMS services

Overview

These methods and API calls relate to the management of files, such as images and office documents. All methods are attached to the apos object.

Most of the time, the files you want access to are available through the slideshow or files widget in editable content areas and singletons. If you need to do something at a lower-level, you may want to look into the options below.

Server-side methods

These methods are used to manipulate and access files on the server.

Browser-side methods

These methods are used to manipulate and access files on the browser.

Nunjucks helpers

These functions are used in Nunjucks page templates to access information about files and construct URLs.

Web API

These URLs are accessed by browser-side JavaScript to manipulate and access files on the server.

Next: Files - server-side methods →