fix(archive): Image upload.

SD-332
fix(archive): minor changes and test fixes.

SD-332