Photo upload hotfix