kt-1234's People
kt-1234's Issues
fix service / directive to upload to cloudinary
https://github.com/jbcpollak/cloudinary_angular:
- added jquery.fileupload.js jquery.cloudinary.js cloudinary_cors.html to index
- added CLOUDINARY_CONFIG
- showing image on main.jade
- uploading
from readme:
# cloudinaryData = {
# url: 'https://api.cloudinary.com/v1_1/YOUR_CLOUD_NAME/auto/upload',
# formData : {
# timestamp : 1375363550;
# tags : sampleTag,
# api_key : YOUR_API_KEY,
# callback : URL TO cloudinary_cors.html,
# signature : '53ebfe998d4018c3329aba08237d23f7458851a5'
# }
# start : function() { ... },
# progress : function() { ... },
# done : function() { ... }
# }
# * The start, progress, and done functions are optional callbacks. Other jquery.fileupload callbacks
# * should be supported, but are untested.
# *
# * Functions are automatically wrapped in scope.$apply() so it is safe to change variable values
# * in your callbacks.
Trying to do a remote upload http://cloudinary.com/documentation/upload_images#remote_upload
Set the class name to 'cloudinary-fileupload' (alternatively, selection of input fields can be done programmatically).
Set data-cloudinary-field to the name of the input field that should contain the upload reference.
Set data-form-data to be JSON representation of the upload API params. The mandatory fields are api_key, timestamp, signature and callback. Any additional incoming or eager transformation parameters can be specified.
The signature needs to be generated on the server-side for correct authentication.
The callback should point to a public URL of your web application that has the cloudinary_cors.html file. It is included in our jQuery plugin package and is required for iframe fallback upload...
continued on http://cloudinary.com/blog/direct_image_uploads_from_the_browser_to_the_cloud_with_jquery
related http://dailyjs.com/2013/02/21/cloudinary/
- use angular_cloudinary directive
- Where do I put JSON?
- fix main.coffee
- fix main.jade
- explain / understand angular.cloudinary.js
- finish jquery-file-upload
- alternatively, use the popular angular-file-upload?
- add tests
jcrop
- follow tutorial
- drawing a square returns x,y coordinates in console log
- returns with a preview (not sure why this doesn't work) should be working like
- http://plnkr.co/edit/Iizykd7UORy3po1h5mfm?p=preview
# # FIXME
# $("#preview").css
# width: Math.round(rx * boundx) + "px"
# height: Math.round(ry * boundy) + "px"
# marginLeft: "-" + Math.round(rx * cords.x) + "px"
# marginTop: "-" + Math.round(ry * cords.y) + "px"
- return with cloudinary image with above coordinates (Is this the right way to preview? or with CSS?)
- add options for aspect ratio, min, max, stretch, etc
- add tests
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.