get_media_path: add fallback to allow using Galleries with standalone placeholder fields outside of Pages.
get_media_path: add fallback to allow using Galleries with standalone placeholder fields outside of Pages.

Code from CMSPluginbase

centralniak/cmsplugin_gallery,centralniak/cmsplugin_gallery,SocialSchools/cmsplugin_gallery,SocialSchools/cmsplugin_gallery