Giter Site home page Giter Site logo

Image Edit / Upload about vvvebjs HOT 6 CLOSED

givanz avatar givanz commented on May 10, 2024
Image Edit / Upload

from vvvebjs.

Comments (6)

givanz avatar givanz commented on May 10, 2024 1

Hi

I added upload option for image input that sets the image as a blob.
To set the image path you need to upload the image on your website and use the url (ex http://mydomain/myimage.png)

To add a image gallery navigator that let's you browse/upload images on your server you will also need to have backend support, I will try adding a simple php example in the future.

from vvvebjs.

heppi75 avatar heppi75 commented on May 10, 2024

Hi,

thanks for your reply. I can't find the image input that sets the image as blob? If I put the bootstrap image component on the site. How can I define the Image that should be used. I can not drag an Image to the container, nothing happens? It would be very helpful for me if you could explain it.

Thank you ...

from vvvebjs.

givanz avatar givanz commented on May 10, 2024

Hi

I updated the demo and pushed the code to github, when clicking on an image the input for image besides text input for image src attribute will also have upload button input.

image_upload

from vvvebjs.

heppi75 avatar heppi75 commented on May 10, 2024

Hi,

now I can see the Button. Thank you. But it is not an ideal solution with the blob image. In wich file is this upload functionality defined? Maybe I could change this myself to an image upload with php solution.

from vvvebjs.

givanz avatar givanz commented on May 10, 2024

I added server upload support in the last commit, to enable it remove

return;//remove this line to enable php upload

from inputs.js to enable php uploading and also copy upload.php to your http server.

from vvvebjs.

oleteacher avatar oleteacher commented on May 10, 2024

Image upload is working, much appreciated.

Have issue I cannot solved though.

When the image is uploaded, the upload path is echoed into the "Alt, Height and Width" fields? Also echoed into the left side search field?

Any ideas how to stop this behavior?

from vvvebjs.

Related Issues (20)

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.