fixes #2465: Switch Twitter cards to use summary card+image
This commit is contained in:
@@ -184,7 +184,7 @@ class Post < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def twitter_card_supported?
|
||||
image_width.to_i >= 280 && image_height.to_i >= 150
|
||||
image_width.to_i >= 280 && image_height.to_i >= 150 && file_size <= 1.megabyte
|
||||
end
|
||||
|
||||
def has_large?
|
||||
|
||||
Reference in New Issue
Block a user