Actually although that solved initial problem, I now seem to have another one. The images being loaded over the web were pretty large, so I've changed the image URL so that the image is resized by the server on the fly (much quicker).
So now the URL for an image might be
Code:
http://www.mydomain.com/resources/admin/phpthumb/public/uploads/products/images/853_rsg%200357%20Full%20Face%20400101.jpg&w=50&q=90&far=l
The problem is, when I do this my table view is empty and doesn't show any products.
I'm wondering if this URL is breaking the XML that gets returned by the server?
or is the problem something else?
Code:
// Image
NSString *cellImage = [[NSString alloc] initWithString:[[[self products] objectAtIndex:indexPath.row] imagePath]];
NSData * imageData = [[NSData alloc] initWithContentsOfURL: [NSURL URLWithString: cellImage]];
[[cell imageView] initWithImage:[UIImage imageWithData: imageData]];