resizing assets and deleting unused images