Hello @track77
Could you please clarify approximately how many images you have in your Media Library? You can check it in your Dashboard > Media page. Also we sent you email from Pro Version Support, please check it if possible.
Best regards
Media library contains 3,361 images.
And as I wrote, image sitemap works in version 1.9.8
On the next week, I’ll check if my test-site is work and give you access
Thank you. We will be waiting for your reply.
Best regards
The 524 “A timeout occurred” error from Cloudflare means that the server did not respond within the allowed time limit (typically 100 seconds). This indicates that the script is running too long — it’s not a PHP crash or fatal error.In this case, the delay is likely caused by processing a large number of posts, running do_shortcode() for each, and extracting media — which creates a long-running loop that exceeds Cloudflare’s execution time limits.
Generate the sitemap ahead of time (e.g., using a scheduled task or WP-CLI command) and serve the pre-generated version, avoiding timeouts during user or crawler requests. This should help.
I’ve now simplified the shortcode processing significantly and the plugin is working. But this is not suitable for a stable solution.
Thank you for clarifying the issue. We had already started working on WP CLI command for generating Sitemaps. We will try to release this feature asap. I will let you know about this update in this thread. As you mentioned, WP CLI command will make Image Sitemaps generation faster and will help to avoid this kind of timeout issues.
Thank you one more time.
Hello @track77
I’m happy to inform you of the new version of our plugin 2.1.9, which includes WP CLI Commands for generating Sitemaps. Here you can see full documentation of our WP CLI Command – https://wpgrim.com/docs/google-xml-sitemaps-generator/general/generating-sitemaps-via-wp-cli/.
Please let me know if there will be any problems with WP CLI Commands.
Best regards
Thanks, I’ll check this version.
It would be great if you could also add how to use the WP CLI in the description.
Sure, we had added How to generate Sitemap using CLI FAQ section in plugin description. Hope it will be helpful for you.