Inserting a reference into a figure

Hi, I’m trying to automatically generate a caption for a figure from a reference from my library. I can’t see any way of doing that short of laboriously reentering the references into the figure table on endnote. Can anyone help me?

Duplicate query. Refer to active thread here: