KQL plugin : how to get the image URL from the image block?

Yeah but that did not do it. (Well, the link does at least not explain how to do that.) I needed to update some fields on the update hook.
The solution is discussed in depth here:

So yeah, in the end I used the default image block and saved the full path programmatically.

But thanks for getting back to me.