def dynamic_image_url(record_or_array, options = {})
      size = fit_size!(record_or_array, options)
      dynamic_image_url_with_size(record_or_array, size, options)
    end
def dynamic_image_url(record_or_array, options = {})
      size = fit_size!(record_or_array, options)
      dynamic_image_url_with_size(record_or_array, size, options)
    end
Returns the URL for a DynamicImage::Model record.

 ==== Options

 * <tt>:size</tt> - Desired image size, supplied as "{width}x{height}".
   The image will be scaled to fit. A partial size like "100x" or "x100"
   can be given, if you want a fixed width or height.
 * <tt>:crop</tt> - If true, the image will be cropped to the given size.
 * <tt>:upscale</tt> - By default, DynamicImage only scale images down,
   never up. Pass <tt>upscale: true</tt> to force upscaling.

 Any options supported by +polymorphic_url+ are also accepted.

 ==== Examples

   image = Image.find(params[:id])
   dynamic_image_url(image)
   # => "http://example.com/images/96...d1/300x187/1-2014062020...00.jpg"
   dynamic_image_url(image, size: '100x100')
   # => "http://example.com/images/72...c2/100x62/1-2014062020...00.jpg"
   dynamic_image_url(image, size: '100x100', crop: true)
   # => "http://example.com/images/a4...6b/100x100/1-2014062020...00.jpg"