Fixed resize and crop to pad if to small
Implemented a better entity tag