Fix: Device Model Image Size: 256px

This commit is contained in:
Gary Sharp
2013-04-30 12:38:28 +10:00
parent b17ed91fb0
commit e04296bbed
3 changed files with 3 additions and 3 deletions
@@ -145,7 +145,7 @@ namespace Disco.Web.Areas.API.Controllers
// DataStore Failed - Use Generic Images
if (m.ModelType != null)
{
var modelTypePath = Server.MapPath(string.Format("~/Content/Images/DeviceTypes/{0}.png", m.ModelType));
var modelTypePath = Server.MapPath(string.Format("~/ClientSource/Style/Images/DeviceTypes/{0}.png", m.ModelType));
if (System.IO.File.Exists(modelTypePath))
{
return File(modelTypePath, "image/png");