I am trying to upload IMG file using internal IPS API and $_FILES php:
<?php
$_SERVER['SCRIPT_FILENAME'] = __FILE__;
require_once 'init.php';
$init = \IPS\Session\Front::i();
$image = \IPS\Image::create( $_FILES['file']['tmp_name'] );
echo $image;
?>
this sadly doesn't work, anyone know which API is used?
thanks