Thanks David te Kloese,
i did not implement like this i'm only retrieving data from that widget controller, it is working fine on my local system but takes in online version
here is the sample of code
var properties = GetProperties();
var image = GetImage(properties);
return PartialView("Widgets/_TextWithLeftImage", new TextWithLeftImageWidgetViewModel
{
Image = image,
Text = properties.Text,
ButtonTarget = properties.ButtonTarget,
ButtonCaption = properties.ButtonCaption,
Tag = properties.Tag,
ImageAlt = properties.ImageAlt
});