Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am new to Umbraco. I am creating an image gallery (called Customers) under Content. A Customer has a logo, which is an image.
How do I create a razor macro that outputs a list of customer logos?
Please see my screenshot here: http://stackoverflow.com/questions/6119050/umbraco-razor-and-image-gallery
This forum is buggy. I can't delete this post. I solved this problem (see the link)
@customer.logo will return a perfectly valid relative path (/media/1234/logo.jpg), no need to use IOHelper.
<img src="@customer.logo" alt="@customer.Name"/>
No it returns ~/media/105/ozmosis.jpg (with tilde).
I actually need the tilde, since I am running this from Visual Studio, because I don't think IIS 5 can run Umbraco
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
cshtml for image gallery?
I am new to Umbraco. I am creating an image gallery (called Customers) under Content. A Customer has a logo, which is an image.
How do I create a razor macro that outputs a list of customer logos?
Please see my screenshot here: http://stackoverflow.com/questions/6119050/umbraco-razor-and-image-gallery
This forum is buggy. I can't delete this post. I solved this problem (see the link)
@customer.logo will return a perfectly valid relative path (/media/1234/logo.jpg), no need to use IOHelper.
No it returns ~/media/105/ozmosis.jpg (with tilde).
I actually need the tilde, since I am running this from Visual Studio, because I don't think IIS 5 can run Umbraco
is working on a reply...