Arbitrarily calling JPEGs spam goes against the Bitcoin ethos. That's partly why we have fees.
This fee-based filtering aligns with Bitcoin's broader ethos of removing trusted third parties and subjective gatekeeping. Rather than having miners or nodes decide what constitutes "legitimate" use, the market mechanism of fees lets users themselves determine what they value enough to pay for.
Bitcoin's design is intentionally neutral about content - it processes transactions based on economic incentives, not subjective judgments about what data is "worthy" of block space. When someone pays market rates to include data, they're participating in the same permissionless system that makes Bitcoin valuable in the first place.