@@ -101,21 +101,21 @@ Any image uploaded to Cloudinary can be transformed and embedded using powerful
101101
102102The following example generates the url for accessing an uploaded ` sample ` image while transforming it to fill a 100x150 rectangle:
103103
104- cloudinary.url().transformation(new Transformation().width(100).height(150).crop("fill")).generate("sample.jpg")
104+ cloudinary.url().transformation(new Transformation().width(100).height(150).crop("fill")).generate("sample.jpg");
105105
106106Another example, emedding a smaller version of an uploaded image while generating a 90x90 face detection based thumbnail:
107107
108- cloudinary.url().transformation(new Transformation().width(90).height(90).crop("thumb").gravity("face")).generate("woman.jpg")
108+ cloudinary.url().transformation(new Transformation().width(90).height(90).crop("thumb").gravity("face")).generate("woman.jpg");
109109
110110You can provide either a Facebook name or a numeric ID of a Facebook profile or a fan page.
111111
112112Embedding a Facebook profile to match your graphic design is very simple:
113113
114- cloudinary.url().type("facebook").transformation(new Transformation().width(130).height(130).crop("fill").gravity("north_west")).generate("billclinton.jpg")
114+ cloudinary.url().type("facebook").transformation(new Transformation().width(130).height(130).crop("fill").gravity("north_west")).generate("billclinton.jpg");
115115
116116Same goes for Twitter:
117117
118- cloudinary.url().type("twitter_name").generate("billclinton.jpg")
118+ cloudinary.url().type("twitter_name").generate("billclinton.jpg");
119119
120120![ ] ( http://res.cloudinary.com/cloudinary/image/upload/see_more_bullet.png ) ** See [ our documentation] ( http://cloudinary.com/documentation/java_image_manipulation ) for more information about displaying and transforming images in Java** .
121121
@@ -125,19 +125,19 @@ Assuming you have your Cloudinary configuration parameters defined (`cloud_name`
125125
126126The following example uploads a local JPG to the cloud:
127127
128- cloudinary.uploader().upload("my_picture.jpg", Cloudinary.emptyMap())
128+ cloudinary.uploader().upload("my_picture.jpg", Cloudinary.emptyMap());
129129
130130The uploaded image is assigned a randomly generated public ID. The image is immediately available for download through a CDN:
131131
132- cloudinary.url().generate("abcfrmo8zul1mafopawefg.jpg")
132+ cloudinary.url().generate("abcfrmo8zul1mafopawefg.jpg");
133133
134134 http://res.cloudinary.com/demo/image/upload/abcfrmo8zul1mafopawefg.jpg
135135
136136You can also specify your own public ID:
137137
138- cloudinary.uploader().upload("http://www.example.com/image.jpg ", ObjectUtils.asMap("public_id", "sample_remote"))
138+ cloudinary.uploader().upload("http://www.example.com/image.jpg ", ObjectUtils.asMap("public_id", "sample_remote"));
139139
140- cloudinary.url().generate("sample_remote.jpg")
140+ cloudinary.url().generate("sample_remote.jpg");
141141
142142 http://res.cloudinary.com/demo/image/upload/sample_remote.jpg
143143
@@ -149,7 +149,7 @@ Returns an html image tag pointing to Cloudinary.
149149
150150Usage:
151151
152- cloudinary.url().format("png").transformation(new Transformation().width(100).height(100).crop("fill")).imageTag("sample")
152+ cloudinary.url().format("png").transformation(new Transformation().width(100).height(100).crop("fill")).imageTag("sample");
153153
154154 # <img src='http://res.cloudinary.com/cloud_name/image/upload/c_fill,h_100,w_100/sample.png' height='100' width='100'/>
155155
0 commit comments