Update image.class.js

Change to image class to use resize filters