Merge branch '1.11.x' of https://github.com/chamilo/chamilo-lms into 1.11.x

pull/2487/head
Alex Aragon 10 years ago
commit fc0dc653d2
  1. 2
      main/inc/lib/extra_field_value.lib.php
  2. 2
      main/session/session_add.php
  3. 2
      main/session/session_edit.php

@ -223,7 +223,7 @@ class ExtraFieldValue extends Model
if ($value['error'] == 0) {
//Crop the image to adjust 4:3 ratio
//Crop the image to adjust 16:9 ratio
$crop = new Image($value['tmp_name']);
$crop->crop($value['crop_parameters']);

@ -45,7 +45,7 @@ $(document).ready(function() {
$image.cropper("destroy");
$image.cropper({
aspectRatio: 4 / 3,
aspectRatio: 16 / 9,
responsive : true,
center : false,
guides : false,

@ -37,7 +37,7 @@ $(document).ready(function() {
$image.cropper("destroy");
$image.cropper({
aspectRatio: 4 / 3,
aspectRatio: 16 / 9,
responsive : true,
center : false,
guides : false,

Loading…
Cancel
Save