Hi Santiago Aguiar,
I am not sure if I understand your query completely.
You may try to save the images as properties in some thing and load the image in the Mashup based on your condition to a widget.
So, you would need a single widget for loading the image when the conditions changes.
Please consider to do it like this:
1. create a DataTable to log down the ID(basetype with INTEGER or STRING) and the image(with basetype of IMAGE) that you will show in your mashup
2. create a service in your Thing: INPUT: ID(same basetype to your DataTable ID), OUTPUT:IMAGE; in your script fetching the image field from DataTable
per the given ID number.
3. in your mashup builder, bind the service created in step 2, and add a textbox or any other widget which will input a number(or from other data resource per your business logic), and then pass this number to the service as an input, and then bind the returned IMAGE data from the service to IMAGE widget in your mashup.Remember to bind the Changed event in the textbox to the service to make sure every time the value in textbox changed you update the image.
Hope this helps,