This helper function creates the 'master_picture' part of the JSON request that includes the image or link to the image This function is used by the build_json_request function to create the complete JSON request.

build_master_picture(type, value)

Arguments

type

string; one of "url" for image urls or "local" for local images.

value

string; either the url if type == "url" or path to local image

Value

list; valid list form for the complete JSON request