add inline picture support