@@ -79,16 +79,21 @@ export default {
7979 var isReel = / \/ r e e l \/ / i. test ( url ) ; // Reels don't work without a caption
8080
8181 if ( ipOG . image ) {
82- links . push ( {
82+ var og_image = {
8383 href : ipOG . image ,
8484 type : CONFIG . T . image ,
85- rel : ipOG . video || isReel ? CONFIG . R . thumbnail : [ CONFIG . R . image , CONFIG . R . thumbnail ] ,
85+ rel : CONFIG . R . thumbnail
8686 // No media - let's validate image as it may be expired.
87+ }
8788
89+ if ( oembed . thumbnail_url && ! oembed . is_fallback ) {
8890 // Remove below error when and if it's fixed. Validators will remove the link
89- error : oembed . is_fallback ? null : 'Unfortunatelly Instagram\'s OG image is cropped as of 2023-10-11 and as of 2024-02-02'
90- } ) ;
91- }
91+ og_image . error = 'Unfortunatelly Instagram\'s OG image is cropped' ;
92+ } else if ( ! oembed . thumbnail_url ) {
93+ og_image . message = "Unfortunatelly, Instagram removed full images on October 1, 2025" ;
94+ }
95+ links . push ( og_image ) ;
96+ }
9297
9398 if ( ipOG . video && ipOG . video . width && ipOG . video . height ) {
9499 links . push ( {
@@ -176,7 +181,6 @@ export default {
176181 "https://www.instagram.com/p/HbBy-ExIyF/" ,
177182 "https://www.instagram.com/p/a_v1-9gTHx/" ,
178183 "https://www.instagram.com/p/-111keHybD/" ,
179- "https://www.instagram.com/reel/CtHaSoDLrWJ/" ,
180184 "https://www.instagram.com/nssmagazine/reel/CrVt-Wvs74O/" ,
181185 {
182186 skipMixins : [ "oembed-title" , "fb-error" , "oembed-author" ] ,
0 commit comments