Create ImageNode mixin to share logic between Block & Inline

Change-Id: I90b543e1a91ab950ff9e857c038bf670dde5634d
Merge "Create ImageNode mixin to share logic between Block & Inline"