Module: DynamicImage::Model::Variants

Extended by:
ActiveSupport::Concern
Included in:
DynamicImage::Model
Defined in:
lib/dynamic_image/model/variants.rb

Overview

DynamicImage Model Variants

Associates the image with its cached renderings.

Each processed size is stored as a Variant, so cropping and resizing is done once. Variants are destroyed with the image, and cleared whenever its data changes.

See Also: