make sorlery compatible with sorl.thumbnail==11.12.1b