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. |
||
|---|---|---|
| .. | ||
| vanilla_import | ||
| 2000x2000.png | ||
| animated.gif | ||
| animated.webp | ||
| bad-xml-icon-sprite.svg | ||
| cropped.png | ||
| custom-theme-icon-sprite.svg | ||
| downsized.png | ||
| fake.jpg | ||
| fake.long-FileExtension | ||
| fake.not_image | ||
| huge.jpg | ||
| image_no_extension | ||
| image.svg | ||
| large_and_unoptimized.png | ||
| large_icon_correct.png | ||
| large_icon_incorrect.png | ||
| logo-dev.png | ||
| logo.jpg | ||
| logo.png | ||
| massive.svg | ||
| not_an_image | ||
| png_as.bin | ||
| pngquant.png | ||
| resized.png | ||
| should_be_jpeg.heic | ||
| should_be_jpeg.png | ||
| smallest.ico | ||
| smallest.png | ||
| svg.png | ||
| tiff_as.bin | ||
| tiny.svg | ||
| webp_as.bin | ||
| zero_sized.svg | ||