diff --git a/conf/vanilla/autoload_configs/conference_layouts.conf.xml b/conf/vanilla/autoload_configs/conference_layouts.conf.xml
index 444b63471b..0e082a2c22 100644
--- a/conf/vanilla/autoload_configs/conference_layouts.conf.xml
+++ b/conf/vanilla/autoload_configs/conference_layouts.conf.xml
@@ -12,6 +12,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/libs/esl/perl/single_command.pl b/libs/esl/perl/single_command.pl
index 40216723f5..aa0d67b57a 100644
--- a/libs/esl/perl/single_command.pl
+++ b/libs/esl/perl/single_command.pl
@@ -4,6 +4,6 @@ require ESL;
my $command = shift;
my $args = join(" ", @ARGV);
-my $con = new ESL::ESLconnection("localhost", "8021", "ClueCon");
+my $con = new ESL::ESLconnection("127.0.0.1", "8021", "ClueCon");
my $e = $con->api($command, $args);
print $e->getBody();
diff --git a/src/include/switch_core_video.h b/src/include/switch_core_video.h
index a18a39da41..43a96e87ac 100644
--- a/src/include/switch_core_video.h
+++ b/src/include/switch_core_video.h
@@ -57,6 +57,12 @@ typedef enum {
POS_NONE
} switch_img_position_t;
+typedef enum {
+ SWITCH_FIT_SIZE,
+ SWITCH_FIT_SCALE,
+ SWITCH_FIT_SIZE_AND_SCALE,
+ SWITCH_FIT_NONE
+} switch_img_fit_t;
typedef struct switch_yuv_color_s {
uint8_t y;
@@ -356,8 +362,9 @@ SWITCH_DECLARE(void) switch_img_get_rgb_pixel(switch_image_t *img, switch_rgb_co
SWITCH_DECLARE(void) switch_img_overlay(switch_image_t *IMG, switch_image_t *img, int x, int y, uint8_t alpha);
SWITCH_DECLARE(switch_status_t) switch_img_scale(switch_image_t *src, switch_image_t **destP, int width, int height);
-SWITCH_DECLARE(switch_status_t) switch_img_fit(switch_image_t **srcP, int width, int height);
+SWITCH_DECLARE(switch_status_t) switch_img_fit(switch_image_t **srcP, int width, int height, switch_img_fit_t fit);
SWITCH_DECLARE(switch_img_position_t) parse_img_position(const char *name);
+SWITCH_DECLARE(switch_img_fit_t) parse_img_fit(const char *name);
SWITCH_DECLARE(void) switch_img_find_position(switch_img_position_t pos, int sw, int sh, int iw, int ih, int *xP, int *yP);
SWITCH_DECLARE(switch_status_t) switch_img_convert(switch_image_t *src, switch_convert_fmt_t fmt, void *dest, switch_size_t *size);
SWITCH_DECLARE(switch_image_t *) switch_img_write_text_img(int w, int h, switch_bool_t full, const char *text);
diff --git a/src/mod/applications/mod_conference/conference_api.c b/src/mod/applications/mod_conference/conference_api.c
index d15e7a1b10..242b7b2844 100644
--- a/src/mod/applications/mod_conference/conference_api.c
+++ b/src/mod/applications/mod_conference/conference_api.c
@@ -101,6 +101,7 @@ api_command_t conference_api_sub_commands[] = {
{"vid-layout", (void_fn_t) & conference_api_sub_vid_layout, CONF_API_SUB_ARGS_SPLIT, "vid-layout", "|group [