Some hacks for sorl.thumbnail