Add image buffer member
Add preliminary attach callback implementation