Upload external photo bugfix