class NodeImageUploader < BasePictureUploader

  version :huge do
    process :resize_to_fit => [320, nil]
  end

  version :big, :from_version => :huge do
    process :resize_to_fit => [160, nil]
  end

  version :small, :from_version => :big do
    process :resize_to_fill => [30, 30]
  end
  
end

class NodeImageUploader < BasePictureUploader

  version :huge do
    process :resize_to_fit => [320, nil]
  end

  version :big, :from_version => :huge do
    process :resize_to_fit => [160, nil]
  end

  version :medium, :from_version => :huge do
    process :resize_to_fill => [128, 128]
  end

  version :small, :from_version => :big do
    process :resize_to_fill => [30, 30]
  end
  
end

Add medium version to node image uploader
Add medium version to node image uploader

We'll need this size version in node/edit form
