About imageOrientation for inflatedImage

Hi there,
just found a small issue. For some cases, the images took in landscape mode can't be display according to the correct orientation. Just figured out the reason is that these images are always set in "UIImageOrientationUp". Therefore, I did a little adjustment. Hope it could help. Thanks!!!

Allen