This project is read-only.

Add a Media Profile in Module Migration

Topics: Customizing Orchard, Writing modules
Oct 31, 2014 at 2:22 AM
Edited Oct 31, 2014 at 3:56 AM
I need a media profile for my gallery module so I want to add this in my module. But I have no clue how I can achieve that. Is it even possible at the moment?

Edit: Solved. I can use
@Display.ResizeMediaUrl(Path: path, Width: 400)
Marked as answer by benschi11 on 10/30/2014 at 7:56 PM