Upload image

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Razorix

New Member
Jun 15, 2017
6
0
1
Script Version: 2.5.3
Script Author: Bensku (?)
Minecraft Version: 1.15.2

Hello ! I'm trying to upload an image to an hoster, like imgur or else.

In fact, I want to create an image with text from skript variables,
save it in the server files and upload it to get an URL for display this image on item frames with AnimatedFrames.

I finally found my way to image creation with skript, but I'm totally stuck with HTTP request, I think I can find alone how it works but I don't know how to "transform" an image file into a "binary file".
I searched on the entire web and no answer, pls halp.

HTTP request : https://api.imgur.com/endpoints/image/#image-upload
I'm using Reqn addon for requests but I can change or add another if necessary.

Please understand my incompetence, I'm doing my better :'(

Thanks in advance !
 
Status
Not open for further replies.