How can get the size of an image as a variable?

Hi M42,

take a look at the attached example workflow that demonstrates Christian's answer.

best,

Gabriel