masscode
Apr 01, 2020 - 20:12
Hi
This is about this forum.
How do you post images in your messages? I’ve looked, but can’t seem to find that option.
Thanks!
Hi
This is about this forum.
How do you post images in your messages? I’ve looked, but can’t seem to find that option.
Thanks!
@masscode I use this script to pick a photo and send it to Imgur site.
Script copies an url to the clipboard and your post in the forum has to link to it
import pyimgur,photos,clipboard,os,console
i=photos.pick_image()
if i:
print(i.format)
format = 'gif' if (i.format == 'GIF') else 'jpg'
i.save('img.'+format)
clipboard.set(pyimgur.Imgur("303d632d723a549").upload_image('img.'+format, title="Uploaded-Image").link)
console.hud_alert("link copied!")
os.remove('img.'+format)
After having installed pyimgur
@masscode @cvp
Nice! i just use this @masscode if you dont want to use script.

@stephen sure we use this way to link the image, the script is to upload the image
😅 for some reason i thought ur scripte did everything lol
Oh, this is great. Thanks!
