mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 11:34:43 +08:00
755ca0fcbb
Previously we would unconditionally fetch all images via HTTP to grab original sizing from cooked post processor in 2 different spots. This was wasteful as we already calculate and cache this info in upload records. This also simplifies some specs and reduces use of mocks.
2.4 KiB
2000x2000px
2.4 KiB
2000x2000px