created image test file, added hooks for image manipulation