Comments (3)
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.
oh! Its for uploading images from camera -- that feature!
from capricorn.
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)
- Phonegap with camera integration. HOT 4
- Release minimal version of grails REST API.
- Setup for grails hosting somewhere.
- Setup IVLE login using phonegap API HOT 1
- Template-ing and making AJAX get requests.
- IVLE + Facebook Client Side API
- Search result refresh HOT 3
- Main Menu HOT 3
- Submit Question Aftermath
- **IMP** Post question/answer/comment validation check HOT 4
- Scrolling of Pages
- Activity Page
- Make user names clickable and redirect to the clicked user's skill card(?) page
- Comment Page
- Foreign_Key constraint exception
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capricorn.