If you want to allow the Divi gallery to access the image_advanced from a custom block, you can save the field value to the default table wp_postmeta instead of the post content. Refer documentation https://docs.metabox.io/extensions/mb-blocks/#storage_type