Fix Issue1: Add insert_image() function