Wiki links to images in Pages site don't load
I'm hosting a site in Gitlab Pages using Hugo, and it has some static images in it.
Example:
File is located at <repository-root>/static/images/my-image.png
The image loads fine on my Gitlab Pages site at
https://my-gitlab-pages-site.gitlab.io/images/my-image.png
In the wiki for that same repository, I'd like to show some of those images.
My Markdown in the wiki uses the following format:

but this doesn't render the image. The browser console shows a load error.
The same image renders just fine if I host it in Dropbox and use the Dropbox URL.
Inspecting the Wiki HTML, it looks like Gitlab Wiki rewrites the URL to the image to its own CDN or static file hosting. And it does this for both the Dropbox rendered image as well as the Gitlab Pages image. But for some reason the Gitlab Pages image URL is invalid.
I tried linking to an image from a different Gitlab Pages site, and it loads fine.
So, in summary, the issue seems to be that the static URL that the Wiki rewrites to a file in the Wiki's repository won't load in the Wiki pages.