Return image uploaded by contour form in examine results
Hi,
I'm running a search wtih examine and am getting an error when trying to return a string to a file uploaded by contour. I feel like it has something to do with the file being in the /umbraco/ path...
Any ideas? Code below along with an example of the string being stored:
//Get the query from the form that has been posted var searchString = Request.Form["q"]; var searchProvider = ExamineManager.Instance.DefaultSearchProvider.Name; var searchResults = ExamineManager.Instance.SearchProviderCollection["InternalMemberSearcher"].Search(searchString, true); } <h2>Search Results</h2> <h4>You searched for <em>@searchString</em></h4> <h5>Displaying @searchResults.Count() results</h5> <ul> @foreach (var result in searchResults) {
Return image uploaded by contour form in examine results
Hi,
I'm running a search wtih examine and am getting an error when trying to return a string to a file uploaded by contour. I feel like it has something to do with the file being in the /umbraco/ path...
Any ideas? Code below along with an example of the string being stored:
String: /umbraco/plugins/umbracoContour/files/fad74fd1-79a8-4b68-9748-2d6c91adbebe/102_2164_L.JPG
Search:
Anything?
is working on a reply...