Hej Guys,
Recently I created fresh site, and created a Page type item.
I added Type "File" field with name Image.
Strange thing is happening, whenever get the value from that field, and I just define: <text>@GetString("Item.Image")</text> it shows correct src that I want to use.
But the issue happens when I am trying to use something like this:
<img src="@GetString("Item.Image")" alt="test" />
For some reason dw changes src and generates this:
<img src="/Files/Templates/Designs/newsite2015//Files/Images/banner/test.jpg" alt="test" />
When <text>@GetString("Item.Image")</text> generates "/Files/Images/banner/test.jpg" as needed.
As soon as I put it inside image src it attempts to add design folder of the website.
Does anyone has any suggestions, ideas why this can happen?