```ruby
class Pulitzer::ImageUploader < Pulitzer::BaseUploader

  process :resize_image

  def resize_image
    self.class.process resize_to_fit: [model.height, model.width]
  end
end
```

Add thumb version for images
user
```ruby
class Pulitzer::ImageUploader < Pulitzer::BaseUploader

  process :resize_image

  def resize_image
    self.class.process resize_to_fit: [model.height, model.width]
  end

  version :thumb do
    process resize_to_fill: [200,200]
  end
end
```
assistant