How to create dependency for pictures in Grafana

I need to add pictures to Grafana Dashboard (as I know, only one possibility to add them, to use Text panel(html)) and make them depended on variables.
Variable: 1, 2, 3
If I select variable 1 pictures 1,2 need to be shown
If I select variable 2 other pictures 3,2 need to be shown
How to do it?

I also can create different rows with pictures, and show row dependent on variable.
How to do row dependent on variable?