Added optional requirement for sorl-thumbnail for using images.