title: loading a image from documents directory in iPhone
body: <p>I want to load a image to UIImageView from my app documents library. I am trying to use the following code but it is not working.</p>
  
  <pre><code>UIImageView *background = [[[UIImageView alloc] initWithFrame:CGRectMake(3, 10, 48, 36)] autorelease];
  
  [background setImage:[[UIImage imageAtPath:[[NSBundle mainBundle] pathForResource:@"Thumbnail-small" ofType:@"jpg" inDirectory:@"/Users/nbojja/Library/Application Support/iPhone Simulator/User/Applications/60C2E4EC-2FE0-4579-9F86-08CCF078216D/Documents/eb43ac64-8807-4250-8349-4b1f5ddd7d0d/9286371c-564f-40b4-99bd-a2aceb00a6d3/9"]]] retain]];
  </code></pre>
  
  <p>can someone help me with doing this. thanks...</p>