image stuff for iOS 7