Move ws image buffer to ws object

But at least a documentation like "macro for doing xyz" _should_ be there, so it appears in the documentation.