humanmade/network-media-library

Theme Support: Enfold

Opened this issue · 1 comments

I'm attempting to use this plugin with the Enfold theme. Unfortunately they use the wp_get_attachment_image_src method along with the get_posts method to get the image attachment posts for that post/page and then further get the image src with an associated ID, which, if the ID doesn't exist (or is not the correct ID because it's associating locally) on the sub-site it can't get the correct post-type for the image associated with the native post/page.

I've tried to hack the theme by determining if this plugin is active, and if so switch the context to the site which has the global media library. That works, but then images that are uploaded to the non-global media library site end up not working after. There's no way to determine if an attachment image is local or global.

Any news on this? Did you find a workaround?