replaced img by compressed version