Random Image Sources and Options
Every source, link type, caption position and randomisation option of the Random Image element in one place.
Media library query
Three images drawn at random from a list of attachment IDs (the Include IDs field). Reload the page for a new draw. Pool is cached for the duration you set.
Caption positions
Below the image, or overlaid at the bottom, top or centre. Caption source here is the attachment title.

marsh-harrier 
grebe

marsh-harrier 
macaw

Custom text caption 
Custom text caption

A fox pup visits a hide 
A Golden Eagle strikes a pose
Link types
Lightbox opens the full-size image, attachment page opens the media page, custom URL goes anywhere you choose. Dynamic data tags can also supply the link.
Aspect ratio and object fit
Daily seed and shared deduplication
Stable for the day: every visitor sees the same selection until midnight UTC. The two elements below share a registry key, so they never repeat each other's images.
Other sources
Selected Images: pick exact images from the media library with the gallery picker.
Custom Post Type Query: choose a post type, optional taxonomy and terms, and use each post's featured image or an ACF field. Both demonstrated above.
ACF Field: a gallery field, or a repeater plus its image sub-field, on the current post, a specific post or an options page.
Media category: needs a media taxonomy named media_category (for example from Enhanced Media Library).
Caching: the candidate pool is cached, never the random pick. Use Clear Random Image Cache in the admin bar to refresh at once.
Custom post type query
Four featured images drawn at random from posts in the Birds category. Reload for a new draw.
ACF field source
Same post query, but each post's image comes from the ACF image field hero_image instead of the featured image.



