[bugfix] adding new image's ID to current project's images