Added get/set methods for images and for buffer length