Update helper.php

Added orientation information to the return value of `getImageFileProperties()`.