In regards to channel fields of the File type, the EE documentation at https://ellislab.com/expressionengine/user-guide/add-ons/channel/custom_fields.html#file-field states:
In its most basic form, a File field can be used as a single tag that simply outputs the URL of the file:
{news_image}
However, when I use it this way, EE outputs a fully populated image tag:
<a href="http://mysite.com/images/lead_images/my-image.jpg">http://mysite.com/images/lead_images/my-image.jpg</a>According to the same documentation, I’m supposed to have to add the wrap=“image” parameter to get that output.
It can also be used to create image tags. In this case the filename will be used to create the alt parameter.
{news_image wrap="image"}
I really need just the URL. Any help is appreciated.
I’m currently on EE 2.8.1. Didn’t see this issue addressed in the 2.9 Change Log.