diff --git a/bbssite/settings.py b/bbssite/settings.py
index 10ed9c0..be4f0ad 100755
--- a/bbssite/settings.py
+++ b/bbssite/settings.py
@@ -86,6 +86,7 @@ INSTALLED_APPS = (
'bootstrapform',
'django_extensions',
'rest_framework',
+ 'easy_thumbnails',
)
LOCAL_APPS = (
'main',
@@ -100,6 +101,13 @@ SESSION_EXPIRE_AT_BROWSER_CLOSE = True
BBS_SALDO_MAX = 600
BBS_LIMIT_DEPOSITS = False
+# Thumbnails
+THUMBNAIL_ALIASES = {
+ '': {
+ 'product': {'size': (64, 64), 'crop': True},
+ },
+}
+
try:
from .local_settings import *
except ImportError:
diff --git a/requirements.txt b/requirements.txt
index dd19dd3..16efbfc 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,8 +2,9 @@ Django>=1.8,<1.9
django-bootstrap-form==3.1
django-extensions==1.5.9
django-widget-tweaks==1.3
+easy-thumbnails==2.2.1
facebook-sdk==0.4.0
gunicorn==19.3.0
mysqlclient==1.3.6
djangorestframework==3.3.1
-Pillow==3.0.0
+Pillow==3.0.0
\ No newline at end of file
diff --git a/templates/register.html b/templates/register.html
index 6f65d89..1b2c902 100644
--- a/templates/register.html
+++ b/templates/register.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load staticfiles %}
+{% load staticfiles thumbnail %}
{% block active_register %}active{% endblock %}
{% block content %}
@@ -78,7 +78,7 @@
0
{% if product.image %}
- 
+ 
{% else %}

{% endif %}