How can I save an image to a local variable and display it (without saving)


I´m having trouble saving an image to a local variable and the display it on the screen (without saving the image on the database). How can I do that?

Hello Camila,

Look this example .oml


Hi Camila,

You can create a Binary variable and in the image widget choice the Binary Data and the variable in the Image content

Thanks for the replies. :)

Actually what I need to do is to display the image of a "subaction" the user chose, inside a popup (to create subactions), and display it. I can only save the image when I create the subaction.... And I´ve tried multiple ways to do it, but I can´t find one that doesn´t need the image to be saved in the database and then be displayed...

Hi Camila,

Are you trying to show the image before upload her, aren't you?

Take a look at this post in the



Hi Camila,

Follow a sample.

Best regards,