Commit 703698b1 by Simon Chen

Course Image Size Update

Update the image resolution and size we store in discovery for course
EDUCATOR-2041
parent b3a56854
......@@ -17,6 +17,6 @@ def make_image_stream(width, height):
return bio
def make_image_file(name, width=2120, height=1192):
def make_image_file(name, width=1134, height=675):
image_stream = make_image_stream(width, height)
return SimpleUploadedFile(name, image_stream.getvalue(), content_type='image/jpeg')
......@@ -351,8 +351,8 @@ class Course(TimeStampedModel):
blank=True,
null=True,
variations={
'original': (2120, 1192),
'small': (318, 178)
'original': (1134, 675),
'small': (378, 225)
},
help_text=_('Add the course image')
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment