homediscussionstagsircirc statsin support of RMSaboutrules

How to make images in multich work

source: 🌎0chan ♦ tags: #meta #multich #img

#1 )) Name: Anonymous @ 2021-05-25 01:33 🌎 0chan

1. In settings.py set these values:
> images = True
> ihost = "https://i.imgur.com/"

2. Make sure you're using the latest utils.py and viewer.py files:
> https://bitbucket.org/796f/multichan

3. Now, if someone links an image from "ihost", it should appear as an image at the bottom of the post. We are using https://i.imgur.com because we figure their moderation team is trustworthy enough.

The first linked image will be embedded at the bottom of the post. If you wish to enable multiple image embeds or use a different imagehost , look in utils.py at the imgur function.

#2 )) Name: Anonymous @ 2021-05-25 04:02 🌎 0chan

Would you wear a Multichan shirt?

#2,1 )) Name: Anonymous @ 2021-05-30 14:44 🌎 52chan

If boards and images are enabled,
in the /b/board/key view,
ihosts.txt = [] can be used to set image host URLs,
1 per line.


You need to solve the captcha before you can post.