Description
This component is responsible for managing the media for an instance.
How is media handled?
Media handling has a few nuances.
Production and Staging/Development instances have separate media, this is for a few reasons:
- Instances aren't on the same server
- You may not actually want their media to be the same (e.g if you delete images on staging you wouldn't want them deleting on production)
With this in mind there are two main ways we set up media for non production instances:
- local media - the instance has it's own media directory.
- remote media - the instance uses images from production.
Both approaches have their pros and cons, each instance can have it's own set up.
Local Media
The instance uses it's own media. This is good when you want to test image uploading / resizing.
The downside is that most images will show as placeholders. (By default MDOQ won't pull media to your instance, if you want to add media to your instance contact support)
Remote Media
The instance looks to production for media assets. This is good when you aren't testing image uploading/resizing.
The downside is that if you do upload an image in the MAP for the instance it won't show.