Jump to content

Image by URL, only client side


Recommended Posts

  • Moderators
3 hours ago, ChvjCieObchodzi said:

do you have any methods of downloading an image by URL without using local files and using only the client side

If:

  • clientside only
  • without local files

It might be possible with:

fetchRemote + requestBrowserDomains

Quote

Wiki:

fetchRemote

Note: Client side function only works with the server the player is connected to unless the domain has been accepted with requestBrowserDomains

But only very small images because of JSON limitations. fetchRemote only accepts JSON format. I do not recommend this method unless it is only for small avatars.

You also need an webserver/host where you save the images in JSON format and send it to the client.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...