Hello,
We apologize for the inconvenience you’re experiencing with the images not showing in the sitemap. It seems that only the featured image is being included in the sitemap, and the photo gallery images are not showing.
To resolve this issue, you can include custom fields in your pages with image URLs. If you wish to include those images in the Sitemap, you can enter the custom field’s names in the Image Custom Fields section of Rank Math. Make sure to add only one entry per line so Rank Math can understand them better and include them in your sitemap.
Here’s a screenshot to guide you through the process:

After making these changes, you can find the URL of your Pages Sitemap at the top of the page. You can copy it and save it somewhere to submit it to Google or access it from this page.
If you have any further questions or need additional assistance, please feel free to ask.
Sources:
Resolving Rank Math Schema Markup Related Issues
What Are the SEO Benefits of Sitemaps? » Rank Math
How to Configure Sitemaps in Rank Math – Best Settings and Tips
Could you please explain how to create custom field for images uploaded via pagebuilder ?
images are not in ‘the_content’
this will help lot of rankmath users, who are using pagebuilders.
Hello,
We’ve checked some of your pages and we can see most of the images are actually added as a CSS background image to the <div>
tag instead of actual images inside the default <img>
tag.
Because of this, Rank Math is unable to detect the presence of images on the page (since they are actually not there, just as background images) and thus is also not able to correctly add them to your sitemap.
For Rank Math to recognize the images, they should be added using the <img>
tag. Google and other search engines also do not parse background images. Please refer to the following guidelines by Google: https://developers.google.com/search/docs/advanced/guidelines/google-images#help-us-discover-all-your-images
However, it looks like you’re currently using the Rank Math PRO plugin on your website, but the account you have used to open this ticket is the Rank Math free version.
Can you please search and forward a receipt from FastSpring.com so we can locate your account and verify it?
Looking forward to helping you.
Thank you.
Thanks for answer,
site was installed by one of freelancer at fiverr. I am not aware about this licence thing, i will ask him to remove pro version.
Hello,
We are glad to hear that this issue has been resolved. Thank you for letting us know. This ticket will be closed now, but you can always open a new one if you have any other questions or concerns. We are here to help you with anything related to Rank Math.
We appreciate your patience and cooperation throughout this process.
Thank you for choosing Rank Math.