From 5144cdd2e1dc9c0eb3a8efd05deb4ce925211503 Mon Sep 17 00:00:00 2001 From: Alon Hammerman Date: Mon, 7 Jan 2013 15:17:53 +0200 Subject: [PATCH] update documentation --- .htaccess | 2 +- README.md | 8 +++++--- samples/PhotoAlbum/upload.php | 24 ++++++++++++------------ samples/README.md | 20 ++++++++++++++++++++ 4 files changed, 38 insertions(+), 16 deletions(-) create mode 100644 samples/README.md diff --git a/.htaccess b/.htaccess index 6b15d3f1..5e3d2866 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,3 @@ - + deny from all diff --git a/README.md b/README.md index 6435a75b..95f328cb 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Cloudinary Cloudinary is a cloud service that offers a solution to a web application's entire image management pipeline. -Easily upload images to the cloud. Automatically perform smart image resizing, cropping and conversion without installing any complex software. Integrate Facebook or Twitter profile image extraction in a snap, in any dimension and style to match your website’s graphics requirements. Images are seamlessly delivered through a fast CDN, and much much more. +Easily upload images to the cloud. Automatically perform smart image resizing, cropping and conversion without installing any complex software. Integrate Facebook or Twitter profile image extraction in a snap, in any dimension and style to match your website's graphics requirements. Images are seamlessly delivered through a fast CDN, and much much more. Cloudinary offers comprehensive APIs and administration capabilities and is easy to integrate with any web application, existing or new. @@ -55,6 +55,8 @@ Generating a 120x90 thumbnail based on automatic face detection of the Facebook For more details, see our documentation for embedding [Facebook](http://cloudinary.com/documentation/facebook_profile_pictures) and [Twitter](http://cloudinary.com/documentation/twitter_profile_pictures) profile pictures. +### Samples +You can find our simple and ready-to-use samples projects, along with documentations in the [samples folder](https://github.com/cloudinary/cloudinary_php/tree/master/samples). Please consult with the [README file](https://github.com/cloudinary/cloudinary_php/blob/master/samples/README.md), for usage and explanations. ## Usage @@ -109,7 +111,7 @@ You can also specify your own public ID: http://res.cloudinary.com/demo/image/upload/sample_remote.jpg -### cl_image_tag +### cl\_image\_tag Returns an html image tag pointing to Cloudinary. @@ -119,7 +121,7 @@ Usage: # -### cl_form_tag +### cl\_form\_tag The following function returns an html form that can be used to upload the file directly to Cloudinary. The result is a redirect to the supplied callback_url. diff --git a/samples/PhotoAlbum/upload.php b/samples/PhotoAlbum/upload.php index a1d6eb30..70d9dd70 100644 --- a/samples/PhotoAlbum/upload.php +++ b/samples/PhotoAlbum/upload.php @@ -18,20 +18,20 @@
- - "png", - "transformation" => array( - array("height" => 95, "width" => 95, "crop" => "thumb", "gravity" => "face", - "effect" => "sepia", "radius" => 20 - ), array("angle" => 10) - ))); - ?> + + "png", + "transformation" => array( + array("height" => 95, "width" => 95, "crop" => "thumb", "gravity" => "face", + "effect" => "sepia", "radius" => 20 + ), array("angle" => 10) + ))); + ?>