diff --git a/apps/course/templates/course/content/gallery.html b/apps/course/templates/course/content/gallery.html
index 32a4bf91..fd0d1389 100644
--- a/apps/course/templates/course/content/gallery.html
+++ b/apps/course/templates/course/content/gallery.html
@@ -1,10 +1,13 @@
+{% load thumbnail %}
{% if results %}
Галерея итогов обучения
{% for image in course.gallery.gallery_images.all %}
{% endfor %}
@@ -15,9 +18,10 @@
{% for image in content.gallery_images.all %}
-
-
+ {% thumbnail image.img.image "140x140" crop="center" as im %}
+

+ {% endthumbnail %}
{% endfor %}
-{% endif %}
\ No newline at end of file
+{% endif %}
diff --git a/project/settings.py b/project/settings.py
index a9e02e83..25bd6e03 100644
--- a/project/settings.py
+++ b/project/settings.py
@@ -52,6 +52,7 @@ INSTALLED_APPS = [
'corsheaders',
'constance',
'constance.backends.database',
+ 'sorl.thumbnail',
] + [
'apps.auth.apps',
'apps.user',
diff --git a/requirements.txt b/requirements.txt
index 2ca79a88..cf55c8a3 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -16,9 +16,10 @@ drf-yasg[validation]==1.5.0
facepy==1.0.9
gunicorn==19.7.1
mixpanel==4.3.2
-requests==2.18.4
psycopg2-binary==2.7.4
Pillow==5.0.0
+requests==2.18.4
+sorl-thumbnail==12.4.1
twilio==6.10.5
# paymentwall-python==1.0.7
git+https://github.com/ivlevdenis/paymentwall-python.git