@Html.ResizedImage compilation error

Mar 29, 2013 at 9:02 AM
Hello ! I found this module very interesting but as i m new to orchard i have problems with its functionality.
I ve downloaded installed and then enabled the module.I want to use resizing helpers so i m including this line of code to my view file (.cshtml)
 @Html.ResizedImage(Url.Content(filename1), width:250, height:190, htmlAttributes: new {alt = "Lolcats"}) 
The error i get is this
Compiler Error Message: CS1061: 'System.Web.Mvc.HtmlHelper<dynamic>' does not contain a definition for 'ResizedImage' and no extension method 'ResizedImage' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<dynamic>' could be found (are you missing a using directive or an assembly reference?)
I ve added using statements like

using Amba.ImagePowerTools.Extensions;
using Amba.ImagePowerTools.Services;
using Amba.ImagePowerTools;

but nothing happens.How can i fix this?
Thank you
Coordinator
Apr 12, 2013 at 10:54 AM
Edited Apr 12, 2013 at 10:57 AM
Hi,

You need Amba.ImagePowerTools.HtmlHelpers namespace.

If it does not work for you check:
Check you added Amba.ImagePowerTools assembly reference to theme.
Image
And try to add namespace to theme web.config
Image

Thanks for your question, I have updated doc https://imagepowertools.codeplex.com/wikipage?title=Hml%20helpers