Ademking / BetterViewer

a replacement for the image viewing mode built into Firefox and Chrome-based web browsers.
MIT License
247 stars 19 forks source link

Imgur upload #36

Closed FatehMammadli closed 1 year ago

FatehMammadli commented 2 years ago

I wanted to ask how much is expiration date IMGBB upload ?

Metacor commented 1 year ago

The code for upload expiration time is set to 10 minutes (I've tested this, and it does delete after 10 minutes)

fetch(`https://api.imgbb.com/1/upload?expiration=600&key=${IMGBB_TOKEN}

When editing in Photopea it seems to upload an image with a 1 minute expiration (I think this is meant as a temporary measure in order to upload it to that website though, so I don't think this one matters)

fetch(`https://api.imgbb.com/1/upload?expiration=60&key=${IMGBB_TOKEN}

FatehMammadli commented 1 year ago

Is it private when it's uploaded to IMGBB? Sorry for lot of questions

Ademking commented 1 year ago

Is it private when it's uploaded to IMGBB? Sorry for lot of questions

IMGUR: image

IMGBB: Deleted after 10 minutes