0
votes

how to display image with with Projection in Orchard 1.7.

i have try but not able to get image its sow me ID with select html layout and custom display html.

can some on help me to get image with orchard projection/query

==Updated Post

I have one Query to select all company name (input text) , detail (input text) and company image, i want to show a list of all company name with image thumb on front site with projection and query ...list is coming but how to get image that is the problem.

thanks

1

1 Answers

1
votes

If you're using ImagePart you should be able to access to MediaPart. MediaPart has FolderPath and FileName property. Just do something like this: Image.As.FolderPath to access to it in your shape.

If you are not using ImagePart, be more specific (e.g. showing some code)