Make image appear on black screen

I now have an image to pop up for 4 seconds in my browser, now I need the entire experiment to appear on a black screen. Is there a jspsych plugin for this? I haven’t found one yet.

The people here are statistically unlikely to know much or anything about JSPsych, or any niche JavaScript library. You would be better served by going to a forum frequented by people who use that specific library, just like how you wouldn’t go to the JSPsych forum to ask a question about Atom because the people there can’t be expected to have expertise about an editor they may or may not have heard of.