summaryrefslogtreecommitdiffstats
path: root/views/album.erb
diff options
context:
space:
mode:
authorKen D'Ambrosio <ken@jots.org>2026-06-16 18:58:34 +0000
committerKen D'Ambrosio <ken@jots.org>2026-06-16 18:58:34 +0000
commitf2095eeb14db8db6558812225e5a0638d9fc9cd0 (patch)
treee90980188a631609e5582b5d4457135241a346bf /views/album.erb
parenta0803c8e87f375b1f138c7d1650ba21108f1cc62 (diff)
Fix OG image for photo links: use thumbnail, drop false dimension tags
When ?photo= is in the URL, @og_use_media was forcing the full-res image (2-3MB) as the og:image. WhatsApp fetched it but showed no preview, likely due to size or timeout. Now uses the thumbnail. Also removed hardcoded og:image:width/height (1200x630) from individual photo/album pages — those dimensions only apply to the default fallback image and were causing WhatsApp to reject previews when the actual image dimensions didn't match the declared ones. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'views/album.erb')
0 files changed, 0 insertions, 0 deletions