{"action":"closed","issue":{"url":"https://api.github.com/repos/benschi11/Rimango.ImageField/issues/12","labels_url":"https://api.github.com/repos/benschi11/Rimango.ImageField/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/benschi11/Rimango.ImageField/issues/12/comments","events_url":"https://api.github.com/repos/benschi11/Rimango.ImageField/issues/12/events","html_url":"https://github.com/benschi11/Rimango.ImageField/issues/12","id":59442878,"number":12,"title":"Image field in Workflows -> Send An Email (Version 1.8)","user":{"login":"Sir-Starr","id":6801792,"avatar_url":"https://avatars.githubusercontent.com/u/6801792?v=3","gravatar_id":"","url":"https://api.github.com/users/Sir-Starr","html_url":"https://github.com/Sir-Starr","followers_url":"https://api.github.com/users/Sir-Starr/followers","following_url":"https://api.github.com/users/Sir-Starr/following{/other_user}","gists_url":"https://api.github.com/users/Sir-Starr/gists{/gist_id}","starred_url":"https://api.github.com/users/Sir-Starr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sir-Starr/subscriptions","organizations_url":"https://api.github.com/users/Sir-Starr/orgs","repos_url":"https://api.github.com/users/Sir-Starr/repos","events_url":"https://api.github.com/users/Sir-Starr/events{/privacy}","received_events_url":"https://api.github.com/users/Sir-Starr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/benschi11/Rimango.ImageField/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"benschi11","id":698992,"avatar_url":"https://avatars.githubusercontent.com/u/698992?v=3","gravatar_id":"","url":"https://api.github.com/users/benschi11","html_url":"https://github.com/benschi11","followers_url":"https://api.github.com/users/benschi11/followers","following_url":"https://api.github.com/users/benschi11/following{/other_user}","gists_url":"https://api.github.com/users/benschi11/gists{/gist_id}","starred_url":"https://api.github.com/users/benschi11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benschi11/subscriptions","organizations_url":"https://api.github.com/users/benschi11/orgs","repos_url":"https://api.github.com/users/benschi11/repos","events_url":"https://api.github.com/users/benschi11/events{/privacy}","received_events_url":"https://api.github.com/users/benschi11/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/benschi11/Rimango.ImageField/milestones/4","html_url":"https://github.com/benschi11/Rimango.ImageField/milestones/v1.9.1","labels_url":"https://api.github.com/repos/benschi11/Rimango.ImageField/milestones/4/labels","id":992449,"number":4,"title":"v1.9.1","description":"","creator":{"login":"benschi11","id":698992,"avatar_url":"https://avatars.githubusercontent.com/u/698992?v=3","gravatar_id":"","url":"https://api.github.com/users/benschi11","html_url":"https://github.com/benschi11","followers_url":"https://api.github.com/users/benschi11/followers","following_url":"https://api.github.com/users/benschi11/following{/other_user}","gists_url":"https://api.github.com/users/benschi11/gists{/gist_id}","starred_url":"https://api.github.com/users/benschi11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benschi11/subscriptions","organizations_url":"https://api.github.com/users/benschi11/orgs","repos_url":"https://api.github.com/users/benschi11/repos","events_url":"https://api.github.com/users/benschi11/events{/privacy}","received_events_url":"https://api.github.com/users/benschi11/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2015-02-24T05:01:02Z","updated_at":"2015-03-02T21:51:54Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-03-02T06:19:22Z","updated_at":"2015-03-02T21:51:54Z","closed_at":"2015-03-02T21:51:54Z","body":"This might not be a bug at all but possibly, in part, my lack of a more holistic knowledge of Orchard and its underlying technologies. With that said, and please bare with me, here is my short but annoying issue.\r\n\r\nI am using the ImageField in a form that allows the user to upload an image. Once submitted I process that form via Orchard's Workflows to send an email to the owner of the website. In the Send An Email Component I add the following to the body in order to display the image in the email, <img src=\"http://www.vinpro.co.za/{Content.Fields.AskAnExpertForm.Image}\" alt=\"\" />.\r\n\r\nHere is where the problem comes in. The image field outputs the following text\r\n~/Media/Default/AskAnExpertForm/Image/temp.jpg \r\n\r\nAs you can see there is a \"~\" at the start of the content and that causes the url in the href to not display the image as it is not a valid url.\r\n\r\nMy question is, how do I remove the \"~\" part of the field's content. I have tried a number of the \"Tokens for Text Strings\" on {Content.Fields.AskAnExpertForm.Image} but none of them outputs anything when I do this.\r\n\r\nPlease let me know if there is a solution that I am not seeing, or know of, or if you can somehow amend the ImageField when used as a Token in the Workflows.\r\n\r\nThank you.\r\n\r\nSean\r\n"}}