• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

mark upload as NSFW with api

If you change in routes.api.php the code to that:

$uploaded_id = CHV\Image::uploadToWebsite($source, $_REQUEST['username'], $_REQUEST['params']);

You can set in a requests the $params['nsfw'] = true; and the image should be nsfw marked.
 
$params = array(
'nsfw' => '1',
'show_nsfw_listings' => '1',
'album_id' => '7'
);

$uploaded_id = CHV\Image::uploadToWebsite($source, 'username',$params);
 
Back
Top