Forem Creators and Builders 🌱

Ternox
Ternox

Posted on

Cover image on all posts

Hello!

All posts on my forem-based site have cover images. However, these covers appear on posts that are loaded later (when scrolling).

Image description

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 (3)

Collapse
 
ben profile image
Ben Halpern

Yes, this is a bug. I think we can get this resolved soon.

Collapse
 
ternox profile image
Ternox

Thank you

Collapse
 
silverthehedgehog124 profile image
Silver The Hedgehog • Edited

If you have trouble with your cover image, you have to reload your browser. It happen every time with me