create pdf with photo and text