Closed desislellp closed 2 years ago
Hi, can someone please help me with this issue? Would be great help! Thanks
Can you strip it down to the things you don't need?
seems like you only want to download stuff from urls? maybe this can help u?
const urls = [
{ name: '...', url: '...' },
{ name: '...', url: '...' },
{ name: '...', url: '...' }
].values()
const readableZipStream = new ZIP({
async pull (ctrl) {
const next = urls.next()
if (next.done) return ctrl.close()
const res = await fetch(next.value.url)
const stream = () => res.body
const name = next.value.name
ctrl.enqueue({ name, stream })
ctrl.close()
}
})
Thanks for the response jimmy. So the problem is, when user uploads multiple photos for a task, it saves all photos of that particular task as an album. And now I want that user to download that particular task album which has multiple images present in it. Can you please give an advice how to do this? Thanks in advance.
show me what you have tried so far, i can't help you if you don't give me something to go on
it's behind a lock login screen.
can you please turn to stackoverflow for this kind of questions?
Hi, I've created a short code with div which has set of images. I want to download this as album from the storage. This project is done in Laravel. Would be great if someone can help! Below is the code!