We’ve updated the photo formatter to instead take advantage of a dynamic URL (instead of the static thumbnails returned in the API response). The dynamic URL will be the source for the resultant <img>
. This dynamic URL will provide a more ideal size than just the static thumbnails, and aligns the theme with other consumer serving products at Yext.
Upgrade Implications:
If you forked formatters-internal.js
, and modified the image formatter, you should copy in the updated image formatter from the theme’s formatters-internal.js
.
This feature is available in Early Access. Here’s how to use the Early Access branches of the Theme and SDK!