[X] This issue is not a question, feature request, RFC, or anything other than a bug report directly related to Gatsby. Please post those things in GitHub Discussions: https://github.com/gatsbyjs/gatsby/discussions
Description
When I have used gh-pages to generate static files from wordpress , I have url https://<name>.github.io and pathPrefix: /<foldername>. But when the plugin created the folder to store the images, they are stored in https://<name>.github.io/_gatsbyimage, not https://<name>.github.io/<foldername>/_gatsbyimage.
Then the network return a 404 for the images call.
I thought this might relate to the absolute path or relative path things.
Preliminary Checks
Description
When I have used
gh-pages
to generate static files from wordpress , I have urlhttps://<name>.github.io
and pathPrefix:/<foldername>
. But when the plugin created the folder to store the images, they are stored inhttps://<name>.github.io/_gatsbyimage
, nothttps://<name>.github.io/<foldername>/_gatsbyimage
. Then the network return a404
for the images call. I thought this might relate to the absolute path or relative path things.Reproduction Link
https://www.vietnguyen.blog
Steps to Reproduce
Expected Result
the picture should be loaded
Actual Result
404 when get the picture assets
Environment
Config Flags
No response