I would like to integrate flag module with Galleria. I have used approach with node reference module, so every image is in a node object. Galleria is invoked in separate content type. Could i output node elements, specifically flags (to allow voting on pictures) bellow every galleria image ? Is there any specific hook for that or template override ?

Thanks.