The "size replacement" of embedded pin images seems to be broken in
|
backgroundImage: pin.images["237x"].url.replace( |
|
/\/237x\//, |
|
"/" + imgWidth + "/" |
The URL I see in the generated source code contains 236x – so the replacement does not work as expected.
This seems to have been broken about mid-October 2023, judging from reports about blurry images I found on the internet (e.g. https://wordpress.org/support/topic/embed-pinterest-url-not-working-and-blurry-embedded-pin-images/) and a customer report.
Digging deeper the data returned from the endpoint does have a 237x entry, but that URL contains 236x.