I’m not able to show an image that I load from a json file.
I’m parsing my json with JSONKit and everything works fine but I can’t load an image in the UIImageview. I hope some of you can help me out there.
below my code I thought might be correct but it isn’t.
UIImageView *image = [[UIImageView alloc] initWithFrame:CGRectMake(20, 20, 100, 115)];
image.image = [UIImage imageNamed:[detailView objectForKey:@"thumbnail"]];
[self.view addSubview:image];
[image release];
the code you posted
will try to find the image on your bundle named the string stored in
[detailView objectForKey:@"thumbnail"]As you mentioned, your images are from remote server, you have to download the image from your remote server.