In order to make a thumbnail for your site, you'll need to start praying to Screenjesus...
... because the web crawler Neocities is using to create screenshots of a site is actually called "Screenjesus" lmao
Basically, the trick is to check with Javascript if the User Agent contains the string "Screenjesus" and then just point the bot to a page containing your thumbnail image
here's an example (didn't fit into the text limit of the previous message lmao)
if (navigator.userAgent === "Screenjesus") {
location.replace("/thumbnail.html");
}
In order to make a thumbnail for your site, you'll need to start praying to Screenjesus... ... because the web crawler Neocities is using to create screenshots of a site is actually called "Screenjesus" lmao Basically, the trick is to check with Javascript if the User Agent contains the string "Screenjesus" and then just point the bot to a page containing your thumbnail image
here's an example (didn't fit into the text limit of the previous message lmao) if (navigator.userAgent === "Screenjesus") { location.replace("/thumbnail.html"); }
https://control-neocities-thumbnail.neocities.org/
thank you guys sm!!! super helpful i would have never figured this out on my own lol