DOCSPACE-547: Fix image addition in another mode than live