diff --git a/projects/templates/portfolio_create_edit.html b/projects/templates/portfolio_create_edit.html index 008cf76..c05446d 100644 --- a/projects/templates/portfolio_create_edit.html +++ b/projects/templates/portfolio_create_edit.html @@ -2,6 +2,7 @@ {% load i18n %} {% load staticfiles %} {% load sass_tags %} +{% load thumbnail %} {% block personal_css %} @@ -113,20 +114,23 @@ ДО 100 ФАЙЛОВ - {% for image in form.photos.field.queryset.all %} - -
-
×
-
- -
-
- - - {% endfor %}
+ {% for image in form.photos.field.queryset.all %} + +
+ +
+
×
+
+ {% thumbnail image.img "250x200" crop="center" as im %} + + {% endthumbnail %} +
+
+ {# #} +
+ {% endfor %}