Hey Rodolfo,
you change something in the api class? Because my customisation is gone
My changes using the user id to upload the pictures to the correct account.
But thanks that you improve the api and make it more easier to use it.
if (isset($_REQUEST['username']) && isset($_REQUEST['params'])) {
$uploaded_id = CHV\Image::uploadToWebsite($source, $_REQUEST['username'], $_REQUEST['params']);
} elseif (isset($_REQUEST['username'])) {
$uploaded_id = CHV\Image::uploadToWebsite($source, $_REQUEST['username']);
} else {
$uploaded_id = CHV\Image::uploadToWebsite($source);
}
I hope the api will improved in v4.
thanks
you change something in the api class? Because my customisation is gone
My changes using the user id to upload the pictures to the correct account.
But thanks that you improve the api and make it more easier to use it.
if (isset($_REQUEST['username']) && isset($_REQUEST['params'])) {
$uploaded_id = CHV\Image::uploadToWebsite($source, $_REQUEST['username'], $_REQUEST['params']);
} elseif (isset($_REQUEST['username'])) {
$uploaded_id = CHV\Image::uploadToWebsite($source, $_REQUEST['username']);
} else {
$uploaded_id = CHV\Image::uploadToWebsite($source);
}
I hope the api will improved in v4.
thanks