lib/carrierwave/cloudflare/action_view/responsive_images_helper.rb
# Returns an image URL with CDN transformations applied.
# Can process already transformed URLs, in that case the
# options will be merged together.
#
# ==== Examples
#
#   cdn_transformed('/img.jpg', width: 400)
#   # => '/cdn-cgi/image/width=400/img.jpg'
#
#   cdn_transformed('/cdn-cgi/image/width=100,fit=pad/img.jpg', width: 333)
#   # => '/cdn-cgi/image/width=333,fit=pad/img.jpg'
#
Returns an image URL with CDN transformations applied.
Can process already transformed URLs, in that case the
options will be merged together.

Examples




Returns an image URL with CDN transformations applied . Can process already transformed URLs in that case the options will be merged together . Examples
def cdn_transformed(url, **options)
          base_options = BaseUploader.default_cdn_options
          CarrierWave::Cloudflare::URL.transform(
            url,
            **base_options,
            **options
          )
        end
def cdn_transformed ( url , ** options ) base_options = BaseUploader . default_cdn_options CarrierWave :: Cloudflare :: URL . transform ( url , ** base_options , ** options ) end
Returns an image URL with CDN transformations applied.
Returns an image URL with CDN transformations applied .
url
options