I’m a bit closer to the solution; in the admin environment, I wrote echo ("hello world"); into the function miu_get_images. This message is displayed in the interface, but when I write echo ($post_id);, the echo is not displayed…
I am using http://minimable.fedeweb.net, a single page interface (http://minimable.fedeweb.net/docs/index.html)