Created
October 2, 2019 22:40
-
-
Save nfriend21/6f945dec1a300d093ed637c0de074f64 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%= cl_image_upload_tag(:picture, | |
| :html => { :multiple => true }, | |
| :image_metadata => true, | |
| :exif => true, | |
| :flags => "keep_iptc", | |
| :use_filename => true, | |
| :eager_async => true, | |
| :eager => [ | |
| { :format => 'jpg', | |
| :transformation => [ | |
| { :crop => :limit, :height => 500, :width => 500 } | |
| ]}, | |
| { :format => 'jpg', | |
| :transformation => [ | |
| { :crop => :limit, :height => 500, :width => 500 }, | |
| { :flags => "relative", :height => 1.0, | |
| :overlay => "deco_watermark", :opacity => 40, :width => 1.0 } | |
| ]}, | |
| { :format => 'jpg', | |
| :transformation => [ | |
| { :crop => :limit, :height => 500, :width => 500 }, | |
| { :flags => "relative", :height => 1.0, | |
| :overlay => "deco_watermark", :opacity => 40, :width => 1.0 }, | |
| { :flags => "relative", :height => 1.0, | |
| :overlay => "canvas_overlay_sml", :opacity => 100, :width => 1.0 } | |
| ]}, | |
| { :format => 'jpg', | |
| :transformation => [ | |
| { :crop => :limit, :height => 700, :width => 700 } | |
| ]}, | |
| { :format => 'jpg', | |
| :transformation => [ | |
| { :crop => :limit, :height => 700, :width => 700 }, | |
| { :flags => "relative", :height => 1.0, | |
| :overlay => "deco_watermark", :opacity => 40, :width => 1.0 } | |
| ]}, | |
| { :format => 'jpg', | |
| :transformation => [ | |
| { :crop => :limit, :height => 700, :width => 700 }, | |
| { :flags => "relative", :height => 1.0, | |
| :overlay => "deco_watermark", :opacity => 40, :width => 1.0 }, | |
| { :flags => "relative", :height => 1.0, | |
| :overlay => "canvas_overlay_sml", :opacity => 100, :width => 1.0 } | |
| ]} | |
| ])%> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment