add doc load for images