How to get relative path to image in content directory?

Try {{ .Page.Parent.GetMatch "myimage*" }}

Also see this GitHub issue: Bundled pages should have .Parent set to its owner · Issue #4582 · gohugoio/hugo · GitHub

OR

Perhaps another method would be to use path.Dir | Hugo in conjunction with the method discussed in this forum topic: How to retrieve parent folder name in Page Bundles