Implements a content.js data compiler for image data.