Attachments

flack edited this page Dec 8, 2016 · 3 revisions

Attachments are the database representation of files like images or PDF documents, which are stored in the blobs directory (typically in the var/blobs folder in the project directory). They are based on the MgdSchema midgard_attachment

The midgard_blob class lets you interact with the actual files on the filesystem. A blob is always bound to an attachment.

Under Midgard 1, the blobdir was defined in the Apache VirtualHost config file.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.