set image caption if there is one