adding caption and credit notes for image bytes