Sha256: c6d765bbbc2825224d3f4faae506e6e9dc1d263c6de375366e1a37b6d16c824b

Contents?: true

Size: 380 Bytes

Versions: 37

Compression:

Stored size: 380 Bytes

Contents

class LogoImageUploader < ImageUploader
	
  def store_dir
    "uploads/logo_images/#{model.id}"
  end

	version :large do
    process :resize_to_fill => [750, 368]
  end

  version :medium do
    process :resize_to_fill => [550, 294]
  end

  version :small do
    process :resize_to_fill => [300, 160]
  end

  version :tiny do
    process :resize_to_fill => [100, 54]
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
kuppayam-0.2.12.pre.materialize app/uploaders/logo_image_uploader.rb
kuppayam-0.2.11.pre.materialize app/uploaders/logo_image_uploader.rb
kuppayam-0.2.10.pre.materialize app/uploaders/logo_image_uploader.rb
kuppayam-0.2.9.pre.materialize app/uploaders/logo_image_uploader.rb
kuppayam-0.2.8.pre.materialize app/uploaders/logo_image_uploader.rb
kuppayam-0.2.7.pre.materialize app/uploaders/logo_image_uploader.rb
kuppayam-0.2.6.pre.materialize app/uploaders/logo_image_uploader.rb
kuppayam-0.2.5.pre.materialize app/uploaders/logo_image_uploader.rb
kuppayam-0.2.4.pre.materialize app/uploaders/logo_image_uploader.rb
kuppayam-0.2.3.pre.materialize app/uploaders/logo_image_uploader.rb
kuppayam-0.2.2.pre.materialize app/uploaders/logo_image_uploader.rb
kuppayam-0.2.1.pre.materialize app/uploaders/logo_image_uploader.rb
kuppayam-0.2.0.pre.materialize app/uploaders/logo_image_uploader.rb
kuppayam-0.1.39 app/uploaders/logo_image_uploader.rb
kuppayam-0.1.38 app/uploaders/logo_image_uploader.rb
kuppayam-0.1.37 app/uploaders/logo_image_uploader.rb
kuppayam-0.1.36 app/uploaders/logo_image_uploader.rb
kuppayam-0.1.35 app/uploaders/logo_image_uploader.rb
kuppayam-0.1.34 app/uploaders/logo_image_uploader.rb
kuppayam-0.1.33 app/uploaders/logo_image_uploader.rb