The release of Virtual Mirror HTML5 version 0.5.7 can be tested here.
Photo mode is a full rewrite.
We scale the image of the user once again. In result we get always a matching width.
We check the exif data from now and we rotate the user image to match the right orientation, based on that. This is required especially for pictures, taken on iPhones and iPads.