UI - Web/Imgur Pictures
Upload/Get images from web.
Download a web picture - aphone.GUI.WebPicture(string name, string link)
This function get the picture format from the link. However if there no format, the function will try to save with the .jpg format
Parameters | Purposes |
Name | Unique name to save the picture |
Link | URL Link |
aphone.GUI.GetWebPicture(string name, string link, string flags)
Parameters | Purposes |
Name | Unique name of the picture |
Link | URL Link |
Flags | 2nd field of https://wiki.facepunch.com/gmod/Global.Material |
aphone.GetImgurPics()
Return the list of the imgur ID the player uploaded in his lifetime
Internal, you don't need this function for a "normal usage" of the API
aphone.GetImgurMat(string imgur_link_id)
Return the material
aphone.SendImgur(string dir)
Upload a picture from the dir ( Start from DATA )
Last updated