Fixing image storage.