Code Monkey home page Code Monkey logo

vux-uploader-component's Issues

PNG Images turn alpha channel to black background

Hi, i really like this component but when i try to upload png images with a transparent background they change the alpha channel to black, is there a way to keep the transparency? Im using "vux-uploader-component": "^1.0.21"

canvas图片处理bug

直接访问demo地址
问题:
1.图片被纵向拉伸,测试的图片分辨率89*93
2.png图片透明处变黑
image

How to show uploaded image

I have successfully uploaded the image. Now in my edit form, I want to display the uploaded image. How can I do so?

Wrong Content-Type and empty blob.type

Greetings!

Last version (v1.0.22) replaced canvas.toBlob second parameter to file.type

Before that fix posted data was something like this (see wrong Content-Type):
------WebKitFormBoundaryBcBUpvEfzANNrA8m
Content-Disposition: form-data; name="image"; filename="twitter.svg"
Content-Type: image/jpeg

But now I see application/octet-stream content type instead of image/svg+xml (or any other matching type of image)
------WebKitFormBoundaryBcBUpvEfzANNrA8m
Content-Disposition: form-data; name="image"; filename="twitter.svg"
Content-Type: application/octet-stream

Blob receives empty type parameter.

Can you fix that?

在图片预览界面滑动后的删除bug

现象: 上传两张图片, 点第一张图片的预览, 滑动到第二张, 点删除. 删掉的是第一张图片.
期待结果: 删掉的是当前预览页的图片, 也就是上面的第二张, 而不是第一张图片.

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.