add debug mode
add callback to postImage