You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to WP API reference (https://developer.wordpress.org/rest-api/reference/media/), there's no sizes property at media object anymore. It's located at media_details property. So it should get from media.media_details.sizes.large.source_url.
Still, I think the block shouldn't get a specific size image. Should get the original and/or add a sidebar option to let the user choose. Not sure how it work in WP but in Drupal the image styles/sizes can be altered and, for example the large size option may not exist.
The text was updated successfully, but these errors were encountered:
Looking at code here:
https://github.com/front/g-section-row/blob/master/src/section-row/index.js#L242-L247
I think there's going to be issues:
sizes
property at media object anymore. It's located atmedia_details
property. So it should get frommedia.media_details.sizes.large.source_url
.The text was updated successfully, but these errors were encountered: