mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
smaller audit initial
This commit is contained in:
1 parent
de3f83db96
commit
0375dad7c9
1 file changed
+1
-1
@@ -322,7 +322,7 @@ module Submissions
|
||||
resized_image = image.resize([scale, 1].min)
|
||||
io = StringIO.new(resized_image.write_to_buffer('.png'))
|
||||
|
||||
width = field['type'] == 'initials' ? 100 : 200
|
||||
width = field['type'] == 'initials' ? 50 : 200
|
||||
height = resized_image.height * (width.to_f / resized_image.width)
|
||||
|
||||
if height > MAX_IMAGE_HEIGHT
|
||||
|
||||
Reference in new issue
Block a user