Open DDamianoff opened 2 years ago
Nevermind: #313
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.
@rxtur Did you aware this?
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: