Better photo upload support