- cover = make_cover(info, width=width, height=height)
- #cover = make_cover(info)
+
+ if not (height or width):
+ width, height = PREVIEW_SIZE
+
+ cover_class = request.GET.get('cover_class', 'default')
+
+ cover = make_cover(info, cover_class=cover_class, width=width, height=height)