title: PhotoViewController + MockPhotoSource (display local photos)
body: <p>If someone have ever use the PhotoViewController and so the MockPhotoSource in the three20 open source project can he told me how can I change the code to display photo store locally and not in the internet.
  This is an example of the code to display one photo:</p>
  
  <pre><code>
  - (void)viewDidLoad {
      self.photoSource = [[MockPhotoSource alloc]
                          initWithType:MockPhotoSourceNormal
                          title:@"Flickr Photos"
                          photos:[[NSArray alloc] initWithObjects:
  [[[MockPhoto alloc]
  initWithURL:@"http://farm4.static.flickr.com/3246/2957580101_33c799fc09_o.jpg"  
  smallURL:@"http://farm4.static.flickr.com/3246/2957580101_d63ef56b15_t.jpg"                               
  size:CGSizeMake(960, 1280)] autorelease], nil]
   ];
  }
  @end
  
  </code></pre>
  
  <p>The method look like that:
  <pre><code>
  - (id)initWithURL:(NSString <em>)URL smallURL:(NSString</em>)smallURL size:(CGSize)size
      caption:(NSString*)caption {
    if (self = [super init]) {
      _photoSource = nil;
      _URL = [URL copy];
      _smallURL = [smallURL copy];
      _thumbURL = [smallURL copy];
      _size = size;
      _caption = [caption copy];
      _index = NSIntegerMax;
    }
    return self;
  }
  </pre></code></p>
  
  <p>I'm not an expert in objective-C and there is not enough help for this project for the moment I think.</p>
  
  <p>Best Regards,</p>