Hello,
in layout hooks, you can add any PHP custom code but I don't think this can easily solve your need.
You could write some PHP code that manually retrieves the picture and show it but it's not trivial and you should take care of security as well (which group can see the picture).
Best,