Revert "Modification to allow images to be loaded from an object (in this case a core data object) rather than from a file."

This reverts commit a4adf182c2958dbdefafd3c38cac499daec3ca33.