[BUGFIX] Add needed setting to handle file_references correctly

The ImageViewHelper needs the setting 'treatIdAsReference' to
handle file_references correctly.

Change-Id: I4aa8ea8e50147a7f3b8d4b5695b6d37bd4ce501f
Fixes: #43964
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/17152
Reviewed-by: Sebastian Michaelsen
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] Add needed setting to handle file_references correctly

The Uri.Image ViewHelper needs the setting 'treatIdAsReference' to
handle file_references correctly.

Change-Id: Ia3df9dffd801e5f88343d60bcc352e39e89179ee
Fixes: #44222
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/17274
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters