Getting image URL and rewrite results for Views Module I have a Content Type of only an Image field and I am using Views module to create a view for it as in follows

    &lt;div style="background:url(IMAGE1_FULL_PATH.JPG)"&gt;&lt;/div&gt;
    &lt;div style="background:url(IMAGE2_FULL_PATH.JPG)"&gt;&lt;/div&gt;


Using Image URL Formatter module I was able to get the image absolute URL, but using the following "rewrite rule" in Views

  &lt;div style="background-image:url([field_banner_image]); "&gt;&lt;/div&gt;


It outputs the URL wrapped in a 

  &lt;a&gt;&lt;/a&gt;


or

  &lt;span&gt;&lt;/span&gt;


tags, how can I possibly get the pure text URL for this image?
Views does reject having style attributes to any of the html elements even though the style attribute is explicitly included in rewrite results of any field in the view.

The reason and workaround maybe found here: Rewrite results strips some html attribute

My recommendation is, you can write tpl for that particular field and use the output text (which will be the url in your case) to build the div or any html element around it.