Hi QS-IT,
I have done more research and found there is no official document talking about the optimal pixel size for a user picture in Exchange Online/Lync Online.
Regarding showing high definition photos, this ability is supported in online too.
Regards,
Jerry