First of all, sorry as I’m a total newbie in this but absolutely love this project. Trying to get it working but somehow none of the possible source URLs do not seem to work - they just give a 404 when I change the original link https://test.frontity.io/wp-json/ to it. We got a pretty simple page with a separate blog part (so a static front page with non-blog content and a separate section on the site with blog content).
You’re totally right - a plugin had banned it for non-admin users. But now that setting is removed and verified with Postman. Still the same issue somehow.
The problem could be just the one that I just mentioned so try again when it has been fixed! (P.S. You will have to execute npm install to update to the last version).
The way to get media images is using state.source.attachment so you should use
You can explore the data using frontity.state in the console of your browser, like this:
The data structure you are going to find in frontity.state.source is the same you can find in the REST API. For example, this is an attachment: https://www.nextgaything.com/wp-json/wp/v2/media/567638
And you can see it in your state using: frontity.state.source.attachment[567638].
With attachments you usually want to use source_url or the info inside media_details.sizes.