Images now working with core data