https://sangkrit.net/how-to-display-a-set-of-random-images-from-published-posts-in-wordpress/
How To Display A Set Of Random Images From Published Posts In WordPress ?