📱
APhone
  • What is APhone ?
  • Installation
    • Workshop
    • Configuration ( Lua part )
    • Configuration ( In-game )
  • How you make your own apps
    • Create your first app
    • App functions
    • App Metas
    • Tips you NEED to know
  • API ( Clientside )
    • Parameters ( Clientside )
    • UI - General Functions
    • UI - Required Functions
    • UI - Colors
    • UI - Fonts
    • UI - Web/Imgur Pictures
    • UI - Renderview
    • UI - Stencils
    • UI - Panels
    • Notifications
    • Rotate functions
  • API ( Shared )
    • Numbers
  • API - App Specific
    • Contacts ( Clientside )
    • Messages ( Clientside )
    • Bank ( Shared )
Powered by GitBook
On this page
  • Download a web picture - aphone.GUI.WebPicture(string name, string link)
  • aphone.GUI.GetWebPicture(string name, string link, string flags)
  • aphone.GetImgurPics()
  • aphone.GetImgurMat(string imgur_link_id)
  • aphone.SendImgur(string dir)

Was this helpful?

  1. API ( Clientside )

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

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.GetImgurMat("Ri5wYVz") // https://imgur.com/Ri5wYVz

aphone.SendImgur(string dir)

Upload a picture from the dir ( Start from DATA )

PreviousUI - FontsNextUI - Renderview

Last updated 4 years ago

Was this helpful?

2nd field of

https://wiki.facepunch.com/gmod/Global.Material