Hello!
All posts on my forem-based site have cover images. However, these covers appear on posts that are loaded later (when scrolling).
I want to make sure that posts are also loaded with a cover image.
What I have found so far:
Loadable articles on scrolling are generated in the file
app\assets\javascripts\utilities\buildArticleHTML.js
I found the attributes of the posts to be loaded here:
C:\forem-bezmir\app\serializers\homepage\article_serializer.rb
I tried adding main_image or cover_image and it didn't work (posts stop loading at all when scrolling).
How can I deal with this? Thanks.
Top comments (4)
Yes, this is a bug. I think we can get this resolved soon.
Thank you
Choosing the perfect cover image for posts can be tricky. Itβs all about finding that balance between eye-catching and relevant. If youβre working with photoshoots for your covers, having a solid grasp of modeling basics can really help. When I first started helping with shoots, I found a model for beginners guide that was super helpful for understanding how to pose and frame shots. Itβs amazing how small adjustments can completely transform the feel of a photo and make it pop as a cover image.
If you have trouble with your cover image, you have to reload your browser. It happen every time with me