title: Not able to display images in UIWebView from resource folder in iPhone SDK
body: <p>In my project i want to display the Images in resources file in the webview </p>
  
  <p>i am placing that content in html page and showing in web view.
  in my body content having some images it is taking url like this
   the problem is the image is not displaying in webview only question mark image is displaying in webview?</p>
  
  <p>this is the code i written for this</p>
  
  <p>NSURL *resourcePathURL = [[NSURL alloc] initFileURLWithPath:[[NSBundle mainBundle] resourcePath] isDirectory:YES];</p>
  
  <pre><code>[self.webView loadHTMLString:contentString baseURL:resourcePathURL];
  
  [resourcePathURL release];
  </code></pre>
  
  <p>i am taking image names like this "Asparagus-with-Shallots.png"
  i am taking different dimenssion to each images 120*150,130*230 like this 
     '$''$'</p>
  
  <pre><code>        '$'&lt;p&gt;&lt;img src=”Tiramisu.png”/&gt;&lt;br&gt;a computer file consisting solely '$' 
  </code></pre>
  
  <p>'$' of printable characters from a recognized character set.<p><I>4 servings</I><p><B>Cream'$' '$'Filling</B><br>1 cup mascarpone cheese (8 ounces) <br>1 a computer file consisting solely'$' 
  '$'of printable characters from a recognized character set! <p><I>For the syrup:'$'
  '$'</I> '$'</p>
  
  <p>I am attaching a image, I am getting the image displaying like in image getting from resource folder</p>
  
  <p><img src="https://i.stack.imgur.com/ZzkNS.png" alt="alt text"></p>
  
  <p>Thanks</p>