fixed orientation issue with image from data

When using setimagewithurl the image that is set has incorrect orientation.  The implementation below gets the image orientation from the NSData.  In the current implementation image is nil in each of the calls to it's orientation.  This results in incorrect orientation.