Support » Plugin: Publish To Apple News » Will bloat your filesystem for no reason

  • This plugin insanely instructs WP to store *15* additional image sizes for every image you upload, and the majority of them are huge. Now, WP doesn’t upscale, so the huge ones will only get created if you’re uploading images larger than this already, but: this is completely and utterly stupid, to have this many, this close in size. And no, it’s not relevant if Apple’s own stupid guidelines recommend this many – be sensible! The image sizes it creates (taken from a var_dump() of the WP var which holds them):

    [“apple_news_ca_landscape_12_9”]=>int(1832)int(1374)
    [“apple_news_ca_landscape_9_7”]=>int(1376)int(1032)
    [“apple_news_ca_landscape_5_5”]=>int(1044)int(783)
    [“apple_news_ca_landscape_4_7”]=>int(632)int(474)
    [“apple_news_ca_landscape_4_0”]=>int(536)int(402)
    [“apple_news_ca_portrait_12_9”]=>int(1122)int(1496)
    [“apple_news_ca_portrait_9_7”]=>int(840)int(1120)
    [“apple_news_ca_portrait_5_5”]=>int(687)int(916)
    [“apple_news_ca_portrait_4_7”]=>int(414)int(552)
    [“apple_news_ca_portrait_4_0”]=>int(354)int(472)
    [“apple_news_ca_square_12_9”]=>int(1472)int(1472)
    [“apple_news_ca_square_9_7”]=>int(1104)int(1104)
    [“apple_news_ca_square_5_5”]=>int(912)int(912)
    [“apple_news_ca_square_4_7”]=>int(550)int(550)
    [“apple_news_ca_square_4_0”]=>int(470)int(470)

    This is just nuts. You could reduce this from 15 to just 6 with negligible impact. Just have two, maybe three at a push, sizes per layout instead of 5. Utterly bonkers.

  • The topic ‘Will bloat your filesystem for no reason’ is closed to new replies.