Firstly, you are using pathForResource incorrectly, the correct way:
[[NSBundle mainBundle] pathForResource:@"70" ofType:@"jpg"]
The whole idea of linking is an abstract resource path, such as one that will always be valid, no matter where your application is on the system. But if all you want to do is upload an image that I would recommend using imageNamed: since it automatically processes the detection of retina display (high resolution) on the iPhone for you and downloads the corresponding resource “automatically”:
UIImage *img = [UIImage imageNamed:@"70.jpg"];
To easily maintain regular resolution and retina resolution, you need to have two resources in your application suite: 70.jpg and 70@2x.jpg with the resource @ 2x doubled and height.
Robin
source share