From d05f0f9ba54dbc92f72aa409eb91e129c26630d4 Mon Sep 17 00:00:00 2001 From: goker cebeci Date: Sat, 12 Nov 2011 18:02:37 +0200 Subject: [PATCH] v1.11 beta (with client side image resizing) --- index.html | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index 245bd26..00623c4 100755 --- a/index.html +++ b/index.html @@ -98,6 +98,7 @@ background: #888; } h3 { clear: both; padding:5px 0; } + #sampleform { width: 470px; }
@@ -106,10 +107,17 @@ -

I developed it to use on my Uygulama project new version.

-

I've only tested it on Chromium (14.0.835.202), Google Chrome (15.0.874.120) and Mozilla Firefox (3.6.17) "with some bugs" and it works enough for me for now!

+

I developed it to use on my Uygulama project's new version.

+

I've only tested it on

+ +

and it works enough for me for now!

+

developer goker.cebeci, the developer

@@ -118,7 +126,7 @@ download or fork it on github

jquery - jquery plugin page

+ jQuery plugin page


USAGE

@@ -127,13 +135,14 @@

USAGE

DOC

- If you want to send more data with uploading file, you can use data tag. For example: data-width="345". + If you want to post more data while uploading file, you can use data tag. + For example: data-custom="custom-data".
  • data-width, data-height : Optional but required for canvas resizing.
  • data-crop : Optional. This is crop option for canvas resizing. [true/false]
  • data-canvas : Canvas resizing option. Default value is false.
  • data-post : Optional. This is an URL for directly posting.
  • -
  • data-type : Optional. File tld. png, jpg, zip If one than more separate with coma.
  • +
  • data-type : Optional. File tld. [png, jpg, zip] Separate with coma if more than one.
@@ -145,11 +154,11 @@

DOC


- * client side image resizing with ks and canvas on browser is activated on the left area. + * client side image resizing is enabled on the right area.

SEND A FILE/IMAGE WITH AJAX FORM

-
* file data will send as a data url (base64) with a text input when the form submit.
+

* file will be sent as a data url (base64) with a hidden input value when the form is submitted.

@@ -160,7 +169,6 @@

SEND A FILE/IMAGE WITH AJAX FORM