How I would manual resize image into a diagram node?

Hi I need resize the image added into the diagram, I can resize the panel table but the image no scale, and I need the image resize auto with the panel table or modify the size of the image manually in the diagram

My code
$(go.Node, “Table”,
alignmentFocus: go.Spot.Left,
locationObjectName: “SHAPE”,
resizable: true,
resizeObjectName: ‘shape’,
selectionAdorned: false,
cursor: “pointer”,
toolTip: tooltiptemplate,
dragComputation: stayInViewportIcon
new go.Binding(“location”, “loc”, go.Point.parse).makeTwoWay(go.Point.stringify),
new go.Binding(“portId”, “portId”),
new go.Binding(“eventType”, “eventType”),
new go.Binding(“status”, “status”),
new go.Binding(“fill”, “fill”),
new go.Binding(“desiredSize”, “size”),
$(go.Panel, “Auto”,
row: 0, column: 0, margin: 0,
desiredSize: new go.Size(100, 100),
alignment: go.Spot.Left,
new go.Binding(“source”, “image”))


I’m not understanding what you want to happen.

But before you can progress, I highly recommend that you use the debug version of the library, go-debug.js, and check the console log carefully to fix any errors you see there.

Thanks walter,

The idea is that I would like resize the image , for example is show image with size(100,100), I can change the image size something like that we can resize the panels

Give the Picture a name, and assign Part.rotateObjectName to that name.