title: Display Image in gsp generated from class
body: <p>I am showing the image path in the class file as below</p>
  
  <pre><code>String val;
  val+= "&lt;img src=/"PATH_TO_FILE/" alt=/"sometext/"&gt;"
  </code></pre>
  
  <p>and trying to load the image in gsp view in a div using jquery which is in the val variable.</p>
  
  <p>Image is successfully found in the specified path, but the problem is that, image is not displaying in the gsp page.</p>
  
  <p>I do not want to load image with the following Grails tag given below:</p>
  
  <p>&lt;<code>img src="${resource(dir: 'images', file: image.name)}" alt="Grails"/&gt;</code></p>
  
  <p>Is there any limitations in Grails using normal html img tag in Grails class to load image in view page?</p>