Oxygen: Display one random image from ACF gallery Images in Oxygen Builder

I create the gallery meta box with ACF gallery field and uploading the images to my pages. At frontend, I shall want one random image from those gallery images.

Here are the steps. 

PHP Snippet

First, you would copy the following PHP code and paste into the Code Snippet plugin. Or you can use my Customize Oxygen Builder plugin and put the code inside the includes/helpers.php file.

Watch This Video For Backend Settings