Question

I have a content type with a MediaPicker field in it. The MediaPicker allows the contributor to select an image for the content type. I'm using Projector to develop a page that renders a list of this content type, but the image doesn't display. I modified the "Rewrite Results" in the layouts for the Projector to write the field to an image: <img src="{Text}"/>

But this produces: <img src="~/Media/.../picture.jpg"/> and doesn't convert the tilde ~/ to the correct path.

Can you tell me what I'm doing wrong? What is the best way to render an image using the Projector module?

Thanks!

Was it helpful?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top