First of all thank you for creating Frontity, it’s fun.
I created a blog based on the mars-theme and was very happy until most problably a few days ago the featured images disappeared except on a page which was originally a page in wp. So no featured images in post and list-item.
After spending some hours this morning debugging everything I discovered was that for all the posts the state.source.attachment[id] is empty in featured-media.js althought id is not empty on entering the component.
So, I thought maybe I messed up. I installed a new clean project and did only this:
- npx frontity create
- switch source to my source
- set featured to true, true in the frontity.settings.js
run it in dev mode and again only a featured image for the page, the rest is not available.
When I debugged my own project the settings for showing featured were true in the components so I have really no idea where to look and no idea what code to share.
I’m happy to share something if I know what, I hope somebody has an idea where to look for the problem.
best regards Marie-Anne
edit: I hate to ask questions like this. I switched back to the testdata and they were fine with images. I kept wondering what I changed besides updating (but no errors appeared) and that was unpublish the second post. And what I discovered, when there is one post with featured image, the image will not show whatever you try on a list or post (but on a page), when you publish a second one, all featured images on lists and posts reappear. I guess I have to search for the mars-theme problem or publish a second post.