diff --git a/lib/papercrop/cropbox.rb b/lib/papercrop/cropbox.rb index 2eafa2d..475a6b6 100644 --- a/lib/papercrop/cropbox.rb +++ b/lib/papercrop/cropbox.rb @@ -61,7 +61,8 @@ def parse_jcrop_opts(opts) parsed[:box_width] = original_width if parsed[:box_width].nil? parsed[:aspect_ratio] = @model.send("#{@attachment_name}_aspect") if parsed[:aspect_ratio].nil? parsed[:set_select] = parsed.fetch :set_select, [0, 0, (original_width / 2), (original_height / 2)] - + parsed[:true_size] = [original_width, original_height] + parsed end -end \ No newline at end of file +end