Commit graph

5 commits

Author SHA1 Message Date
Harrison Healey
1173ca3d97
MM-14030 Don't show large gifs in posts (#2750)
* MM-14030 Don't show large gifs in posts

* Re-add default argument
2019-05-01 09:34:45 -04:00
Miguel Alatzar
a67863c5a2
[MM-14669] Return null dimensions when height or width is falsy (#2681)
* Return 50x50 dimensions when height or width is 0

* Refactor image constants

* Return null dimensions when height or width is falsy
2019-04-22 19:17:03 -07:00
Elias Nahum
91f87d1095
MM-13368 Do not truncate tall images in preview screen (#2438)
* MM-13368 Do not truncate tall images in preview screen

* Add unit test for viewport max height

* Fix typo
2018-12-10 09:02:56 -03:00
Saturnino Abril
1fbfe33a22
add border to image of link preview and not allow such image width to exceed the view port width (#2189) 2018-10-01 09:34:30 +08:00
Elias Nahum
b47c7db4dc
Fix cropped images (#1936)
* Fix cropped images

* Unit tests
2018-07-20 13:34:46 -04:00