Solved the bug which was preventing photo upload via the composer.