Git Product home page Git Product logo

Comments (3)

chongivan avatar chongivan commented on September 23, 2024

Can we use like erm URL fb profile pic. If u don't want then I got
the code. But not json. Show u tml
On Jun 13, 2012 3:59 AM, "Amulya Khare" <
[email protected]>
wrote:

Can you guide me, give me some code or reference on how to upload <img src='url/here/'></img> image from jquery/html side to grails server? Do we
use JSON? Where is the image stored on server etc etc.


Reply to this email directly or view it on GitHub:
#7

from capricorn.

amulyakhare avatar amulyakhare commented on September 23, 2024

oh! Its for uploading images from camera -- that feature!

from capricorn.

creativepsyco avatar creativepsyco commented on September 23, 2024

you will have to upload the image to some public place, it needs to have an independent path.

For the phonegap/jquery side, once you are given the file location by the camera view, you can use this to upload the file to the server: http://docs.phonegap.com/en/1.0.0/phonegap_file_file.md.html , look at the fileTransfer method.

On the Grails side, you need to expose a service or url that takes in incoming files. from the jquery/phonegap side u also pass in parameters indicating where the uploaded file be connected to. Once that is done it should be okay.

from capricorn.

Related Issues (16)

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.