Git Product home page Git Product logo

filepond-plugin-file-poster's Introduction

filepond-plugin-file-poster's People

Contributors

dborstelmann avatar dependabot[bot] avatar fratzinger avatar liarco avatar rikschennink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

filepond-plugin-file-poster's Issues

How to set poster URL after upload?

Plugin works fantastic 👍 but I'm stuck on something that I suspect is very simple...

I have a custom server.process that handles uploading videos. When the video has finished uploading, the server response includes a URL to the video's thumbnail image.

How can I change FilePond's poster after the video finishes uploading?

poster and preview

Hi,

I'd like to use both FilePoster and ImagePreview at the same time to view local images and newly added images. Using both, posters are loaded properly but the preview size is incorrect and previews for new images are correct. Is there anyway to resolve this? A quick solution for me would be to pass image dimensions in metadata that will be used instead of any calculated dimensions. Happy to help.

Callback when removing an image

Hello,

First, want to start out by saying WOW! This tool is amazing.

My use case is that I'm using filepond to upload images to my server when creating a new item.
And using it to display existing uploaded images via the "file poster" plugin when a user edits/opens up an existing item.

In filepond there's a way to trigger on a callback when a file is removed using "onprocessfilerevert".

Would you know if there's a similar callback function in "file poster" plugin when removing a picture by clicking on the X icon in the top left of the image?

Because I'm trying to capture which images have been removed when an item is being edited.

Thank you for your help.

Poster from raw binary data

Hello,

Is it possible to set a poster from a raw binary data?
When I try to set something like this:

metadata: { poster: 'data:image/jpg;base64,/9j/4AAQSkZJRgABAQA...' }

The image does not appear...

Thank you in advance!

Image fails to load @ 1.1.0

Hi there,
after latest update image fails to load. the image displays ok when using previous version 1.0.0.
screenshot 2018-10-24 at 16 03 42
Image is stored in a public s3 bucket with cors enabled.
just wanted to let you know.
Thank you for your efforts.

Unexpected behaviour when file uploading process takes more than 1 seconds

Refer to #1

I update poster url after uploading the image, but some unexpected behaviour is occurring.
When the file is uploaded in less than a second the poster is updated and the status becomes completed which is expected behaviour.
when the process takes more than a second, then the poster is updated but the delete call is made and status becomes idle, but after clicking upload button it works as expected

codesandbox reproduced example
change timeout to 2000 or more ms

input value filling with [object object]

when i use this plugin
the input value filling with [object Object]

why it changes the input value?
this is how i show the image
files: [ { options: { type: 'local', file: { name: '{{ $value }}', size: 3434, type: 'image/png' }, metadata: { poster: '{{ assets($value) }}' } } } ]

how to use the FilePond.create in Vue?

i want use FilePond.create to preview my server file,but no documentation was found,Can you tell me what to do?
<el-form-item label="模版缩略图" prop="img"> <file-pond name="img" ref="pond" v-bind:allow-multiple="false" accepted-file-types="image/jpeg, image/png" :instantUpload="uploadServer.instantUpload" :server="uploadServer.server" v-bind:files="uploadServer.file1" @init="handleFilePondInit" v-on:processfile="processfile1"/> </el-form-item>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.