resolveMediaLocationOrFallback
Retrieves the media location of a media file, starting from the output directory. If the media file is not found in the local storage, a fallback location is returned, which is usually the original path.
Return
the resolved media location, or the fallback location if the media is not found
Parameters
path
path of the media to resolve, either a local path or a URL