How do I set a screenshot as an image for a widget?

I am making a level editor for my game. I am having trouble saving screenshots and using them for my widgets. The game is supposed to take a screenshot and then use the screenshot as the level image. Example from an official level.

This is the code I currently have. I have it set up currently to check if the file even exists for the game to read before trying to import it, but it keeps saying that it doesn’t exist.

It is currently looking for an image in this example called 'Test Level.png" and I am looking in the correct directory as shown here.

Surly I am doing something wrong here. I have tried for several weeks trying to get this to work with no avail. I even tried looking this up and not finding anything that works. I have the image in the correct location and it still does not find it.

Okay, I have an update. Turns out that I was missing a / at the end lol. I am currently seeing if I can import the screenshot so i can use it for my widgets. If you have any solutions on how to do that while I try to figure it out, feel free to tell me. I am getting really irritated doing this lol.

New update! I seem to have it imported and saved. However, it seems to only appear a white image for some reason. This is the import code.

This is the code inside that function called “Save Custom Level Screenshot”

Result: