A lot of main images are labelled as logo in the wikipedia infobox. Its frustrating that there are so many labels for the same image.
I wasted a lot of time debugging it. For those who are facing the same problem please make the following change to page.js
const mainImageName = getFileName(
info.image ||
info.bildname ||
info.imagen ||
info.Immagine ||
info.badge ||
info.logo //add
);
A lot of main images are labelled as logo in the wikipedia infobox. Its frustrating that there are so many labels for the same image. I wasted a lot of time debugging it. For those who are facing the same problem please make the following change to page.js const mainImageName = getFileName( info.image || info.bildname || info.imagen || info.Immagine || info.badge || info.logo //add );