Move image sizes filter to model