fix size
This commit is contained in:
@@ -235,7 +235,7 @@ class Post < ActiveRecord::Base
|
|||||||
|
|
||||||
def medium_image_height
|
def medium_image_height
|
||||||
if is_flash?
|
if is_flash?
|
||||||
return 150
|
return 204
|
||||||
end
|
end
|
||||||
|
|
||||||
ratio = Danbooru.config.medium_image_width.to_f / image_width.to_f
|
ratio = Danbooru.config.medium_image_width.to_f / image_width.to_f
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 65 KiB |
Reference in New Issue
Block a user