Thanks for getting in touch.
You are correct about that. The Advanced Attachment Modal does use the root URL of the particular image file opened.
We’ll look into this and see if we can either add an option to switch to the HTTP URL/web address or replace the current URL with the HTTP URL. Kindly note that this statement does not act as a guarantee that this will happen, but I will keep you updated on any new developments on this.
If you have any questions, don’t hesitate to ask.