Skip to content

Commit 0c1ed08

Browse files
committed
fix g_faces:center gravity fallback to avoid "top-center" crops
http://cloudinary.com/documentation/image_transformations#gravity_parameter
1 parent 665eba9 commit 0c1ed08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/lib/cloudinary.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ component {
102102

103103
switch (arguments.crop){
104104
case "center":
105-
format = listappend(format,"g_faces");
105+
format = listappend(format,"g_faces:center");
106106
break;
107107
case "topleft":
108108
format = listappend(format,"g_north_west");

0 commit comments

Comments
 (0)