Picture resizing in graphLinksModel

need help in resizing the picture in my node…
$(go.Picture,
{ name: “BUTTONS”,margin: 0, width: 100, height: 100,
portId: “”, fromSpot: new go.Spot(1, 0.35), toSpot: new go.Spot(0, 0.35) }, new
go.Binding(“source”,“foto”)),

I want to use the same node for different pictures , therefore I can’t size it here. I want to size it in the GraphLinksModel.

myDiagram.model = new go.GraphLinksModel(
[ { key: "A", category:"MYNODE2",foto:"L1 FUSES.png"},
      { key: "B1",category:"CARDS",foto:"input card.png",angle:0,pos:"300 200"},
    ]

how do I change the size here?
can I do in my go.picture a go.Binding(“DesiredSize”,“size”)?
please help

I’m not sure exactly what you want to do. But yes, you could add a binding:

    new go.Binding("desiredSize", "size", go.Size.parse)

on whichever element that you want to control.