Cropsizes config and upload compatible
Refactors imagecropper and fileupload to use the samen metadata setting extensions
This commit is contained in:
@@ -43,7 +43,8 @@ namespace Umbraco.Web.Models
|
||||
{
|
||||
if (HasFocalPoint())
|
||||
{
|
||||
|
||||
sb.Append("?center=" + FocalPoint.Top + "," + FocalPoint.Left);
|
||||
sb.Append("&mode=crop");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -51,7 +52,6 @@ namespace Umbraco.Web.Models
|
||||
sb.Append("&mode=crop");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
sb.Append("&width=").Append(crop.Width);
|
||||
|
||||
Reference in New Issue
Block a user