How do I get the result of appying plugins as stream? #3498
Replies: 4 comments 5 replies
|
Am I understanding you that you're using a filepond plugin to do modifications, but when you get the stream it's just the original file without any modifications? Can you show me a replication ? Feel free to fork and create a new page in the demo, if that's helpful. |
|
That is correct. I can show you a simple way to demonstrate this. This is what I'm doing and it can be tested on any of the demo pages: And you can see the size of the stream is always the size of the original file. I've stored and checked the content and it is in fact the original file, unless I've completely missed how I'm supposed to use the plugins. |
|
Nice, now there is actually a way to get the transformed file. However, it seems to only work for the first file. In the following: When we get to I don't see any exceptions logged, and the browser console doesn't indicate anything either. I can't pinpoint why this JS invocation never completes for the 2nd file. P.S. it looks like the SignalR connection breaks when attempting the JS invocation for the 2nd file. |
|
@AgentTheGreat give it a try now, pushed an update. If you still run into it, you may need to increase max file limit with your signalr connections. |
Uh oh!
There was an error while loading. Please reload this page.
Hello, I'm trying to use this library to apply resizing and conversion of all image files to
image/jpeg. TheFilePonddoes provideGetStreamForFilebut that doesn't seem to return the transformed files...it returns only the original files.Is there a standard way to get the result of applying FilePond plugins as a stream? There doesn't seem to be documentation or any suggestion in the code as to how that's supposed to be done.
All reactions