Display Random Image from Folder in OBS Image Source

Description

Display a Random Image from Folder in OBS Image Source with Streamer.bot.

OBS WS v5.x

Import Code

Display_Random_Image_iAmLarcyn_WS5.sb (2.1 KB)

Installation

In Streamer.bot click the Import button in the top menu. Drag the .sb file into the Import String field.

In OBS, create an image source and name it.
Change the arguments to the folder path containing images (only images), and the name of the obs source.
From there, you can adjust how you show/hide the source however you would like.

If it doesn’t work, you may have to manually bring in the System.IO and System.Drawing references in the Execute code step.

Contributors

3 Likes