This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
3
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Change how convert options are escaped
closed-social-glitch-2
Eugen Rochko
7 years ago
parent
cdc49c6b4b
commit
2ddf4e09f9
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/models/media_attachment.rb
+ 1
- 1
app/models/media_attachment.rb
View File
@ -51,7 +51,7 @@ private
small
:
{
convert_options
:
{
output
:
{
vf
:
'scale=
"min(510\, iw):min(680\, ih)"
;:force_original_aspect_ratio=decrease'
vf
:
'scale=
\'min(510\, iw):min(680\, ih)\'
;:force_original_aspect_ratio=decrease'
}
}
,
format
:
'png'
,
Write
Preview
Loading…
Cancel
Save