homediscussionstagsboardsrulesabout


How to make images in multich work

source: local ♦ tags: #meta #multich #img

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

https://i.imgur.com/075nF.jpg
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.

#1,1 )) Name: Anonymous @ 2021-05-25 02:31 🌎 finns

epic

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

Would you wear a Multichan shirt?
https://i.imgur.com/04frvOD.jpg

#2,1 )) Name: Anonymous @ 2021-05-26 07:34 🌎 finns

Based.

#2,2 )) 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.



(new)

You need to solve the captcha before you can post.