# encoding: utf-8

class HeroImageUploader < ImageUploader

  version :blur

  def store_dir
    "uploads/project/#{mounted_as}/#{model.id}"
  end

  version :blur do
    process :apply_blur
    process convert: :png
  end

  def apply_blur
    manipulate! do |img|
      img = img.blur_image(0, 3)
      img
    end
  end

end

# encoding: utf-8

class HeroImageUploader < ImageUploader

  version :blur

  def store_dir
    "uploads/project/#{mounted_as}/#{model.id}"
  end

  version :blur do
    process :apply_blur
    process convert: :png
  end

  def apply_blur
    manipulate! do |img|
      img = img.blur_image(0, 3.5)
      img
    end
  end

end

Add more blur to hero images
Add more blur to hero images
