Calling a variable in order to show a picture

Is there a way to call a variable to show a picture? Or, alternatively a show picture script that uses a control variable in the place of a filename? E.g.

Code:
Control Variable; TESTDISPLAY1 = (picturefilenameX)
Show Picture; Variable;TESTDISPLAY1 (which would be picturefilenameX

I've tried doing something akin to this already via this code in turn 0 in troop events;

Code:
Script: $gameScreen.showPicture($gameVariables.value(1), 'PicureSample0', 0, 0, 0, 100, 100, 255, 0);
Script: $gameVariables.value(1)

With my thought being that, with Variable 1 being set to 'Show picture', if I forced the game to read $gameVariables.value(1) it would show the picture affiliated with gamevariable1. But no such action occurs. What would be the correct way to go about doing this? Thank you.
$gameScreen.showPicture(1, $gameVariables.value(1), 0, 0, 0, 100, 100, 255, 0)

order_index, name, center_origin, Xcoord, Ycoord, Xscale, Yscale, Alpha, blend_mode.

you can't store a picture in a variable, but you can store the picture's name in a variable, and then use the script call for show picture to retrieve it, by accessing the variable you just saved
Hey thanks! I'm gonna give it a whirl and then report back!
Jesus It's been that long since I posted that!? Holy christ.. I came into this so optimistic lol anyway it does indeed appear to be working fine (although with RPGMAKER I've noticed things have a habit of not working without any discernible explanation or conceivable reason). I don't quite know the function of blend mode/how to set that or the origin section, but it appears to be doing what it needs to. Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/calling-a-variable-in-order-to-show-a-picture.104211/