Updated Customizing Image Search Providers (markdown)

neobooru 2021-08-26 18:40:21 +02:00
parent e5991259d4
commit 4b1b5d9320

@ -1,4 +1,6 @@
#### Warning: the following modification is 'unsupported' and requires you to either understand how to create a local docker image, or how to manually deploy szurubooru. Aka, this is only for advanced users. **Warning: the following modification is 'unsupported' and requires you to either understand how to create a local docker image, or how to manually deploy szurubooru. Aka, this is only for advanced users.**
***
All posts have a `Search on ...` in their sidebar. This allows you to search for the current post on other boorus. All posts have a `Search on ...` in their sidebar. This allows you to search for the current post on other boorus.
By default szurubooru allows you to search for similar posts on IQDB, Danbooru and Google Images. By default szurubooru allows you to search for similar posts on IQDB, Danbooru and Google Images.
@ -25,6 +27,6 @@ You can add or remove as many links as you want. For example, if you want replac
<a href='https://saucenao.com/search.php?url=<%- encodeURIComponent(ctx.post.fullContentUrl) %>'>SauceNAO</a> <a href='https://saucenao.com/search.php?url=<%- encodeURIComponent(ctx.post.fullContentUrl) %>'>SauceNAO</a>
</section> </section>
``` ```
###### P.s. instead of `ctx.post.checksumMD5` you can also use `ctx.post.checksumSHA1` if you need the SHA1. Instead of `ctx.post.checksumMD5` you can also use `ctx.post.checksumSHA1` if you need the SHA1.
After making your changes make sure to either rebuild your local docker szurubooru/client image, or run `npm run build` when you are not using docker. After making your changes make sure to either rebuild your local docker szurubooru/client image, or run `npm run build` when you are not using docker.