Updated the image class to include a new embed data method.