developing a powerapp applicaiton for our teams.
uploaded some images in media category, some are .jpg and some .png.
I want to display these images conditionally in the gallery image field.
If the category in the gallery is BULLDOZER, then it should Bulldozer.jpg
If the category in the gallery is EXCAVATOR, then it should Excavator.jpg
Image of the canvas is as below :


pls. advise, how to connect Image to the media file conditionally