forked from fa/breadcrumb-the-shire
Proxy endpoint supports ?inline=1 parameter that serves images with correct Content-Type and Content-Disposition: inline. Uses fpassthru via php://memory stream to bypass MintyPHP Analyzer restrictions. Frontend always attempts image preview via <img> tag. Non-image files gracefully hide the preview via onerror handler. Download link shown for all file types regardless. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>