diff --git a/app/Resources/public/css/base.css b/app/Resources/public/css/base.css
index dcb37d4fdd..61f50d378c 100644
--- a/app/Resources/public/css/base.css
+++ b/app/Resources/public/css/base.css
@@ -62,6 +62,37 @@ a.thumbnail:hover{
margin-left: 20px;
text-align: left;
}
+.gallery .img-gallery{
+ height: 100%;
+ width: 100%;
+ position: absolute;
+ left: 0;
+ top: 0;
+ border-radius: 5px;
+}
+.gallery .photo{
+ display: block;
+ padding-bottom: 100%;
+ overflow: hidden;
+
+}
+.gallery .frame{
+ background-color: #eeeeee;
+ display: block;
+ width: 100%;
+}
+.gallery .canvas-one{
+ margin-bottom: 30px;
+}
+.gallery .canvas-two{
+ margin-right: 30px;
+ flex-shrink: 1;
+ -webkit-flex-shrink: 1;
+ -ms-flex-negative:1 ;
+ display: block;
+ position: relative;
+ width: 100%;
+}
/*------------------------*/
.cursor-pointer {
cursor: pointer;
diff --git a/main/document/slideshow.php b/main/document/slideshow.php
index d16ca9377d..568d6aa647 100755
--- a/main/document/slideshow.php
+++ b/main/document/slideshow.php
@@ -169,13 +169,13 @@ if ($slide_id == 'all') {
// Config for make thumbnails
$allowed_thumbnail_types = array('jpg', 'jpeg', 'gif', 'png');
- $max_thumbnail_width = 100;
- $max_thumbnail_height = 100;
+ $max_thumbnail_width = 200;
+ $max_thumbnail_height = 200;
$png_compression = 0;//0(none)-9
$jpg_quality = 75;//from 0 to 100 (default is 75). More quality less compression
$directory_thumbnails = $sys_course_path.$_course['path'].'/document'.$folder.'.thumbs/';
-
+
//Other parameters only for show tumbnails
$row_items = 4;//only in slideshow.php
$number_image = 7;//num icons cols to show
@@ -291,7 +291,7 @@ if ($slide_id == 'all') {
$one_image_thumbnail_file='.thumbs/.'.$one_image_file;//get path thumbnail
$doc_url = ($path && $path !== '/') ? $path.'/'.$one_image_thumbnail_file : $path.$one_image_thumbnail_file;
- $image_tag[] = '';
+ $image_tag[] = '
';
} else {
//if images aren't support by gd (not gif, jpg, jpeg, png)
if ($imagetype=="bmp") {
@@ -326,23 +326,30 @@ if ($slide_id == 'all') {
$count_image = count($image_tag);
$number_iteration = ceil($count_image/$number_image);
$p = 0;
- echo '