Next.js 14+ defaults the image optimizer to Content-Disposition: attachment (SVG XSS protection). That made GIF/PNG banner ads download as files instead of rendering inline — manifesting as "missing banners" on the live site (LiveU 728x90, Telycam 300x250, etc.). Setting contentDispositionType: 'inline' restores the expected render behavior. The strict CSP on optimized images is still in place; we just serve inline now. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
3.9 KiB
3.9 KiB