You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the cause of this problem because function get source will get absolute url, then it will be saved to the database with the full scheme.
Therefore, when the cover is loaded in the view with the line of code, add a "/" in front of it, it will display incorrect.
Now the problem is, in the past, in the database only the relative path was saved, and I don't know from which update it got the absolute url.
The fix for this is simply to remove the "/" on views that show cover.
But if we have old posts, it seems we have to write a script to update the Cover field in the database.
Describe the bug
Cover images in custom pages doesn't show if it was changed.
Screenshots
Additional context
Actually, I've found the problem, but I'm too newbie to fix it myself:

Removing those bars, the image shows properly:

The text was updated successfully, but these errors were encountered: