view filename for thumbnail image in summary

Topics: Customizing Orchard, General
Feb 5, 2013 at 10:56 AM
Hi All,
I'm using imageresizer to dynamical resize images. I'm trying to isolate the view alternative so that i can add the imageresizer syntax to content summary.

What would be the filename syntax for the view be to enable this without having to manually create the whole content item, or create a projection summary render? When I create a projection summary render and custom view I loose the custom content part I have attached to the content.

This is my current filename syntax which isn't working:
or Fields.MediaPicker-Product-ProductImage-Summary.cshtml

If I use Fields.MediaPicker-Product-ProductImage.cshtml it works but then the detail page image also gets resized.

This is my code:
<div class="product-thumbnail"> @if (Model.ContentField.Url != null) { <img src="@Href(Model.ContentField.Url)?width=100&height=100" alt="@Model.ContentField.AlternateText" /> } </div> Thank you for your help
Feb 10, 2013 at 7:08 AM
Use shape tracing and look at the available alternates.