You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,9 +64,9 @@ To get started quickly, take a look at our example code.
64
64
-[JavaScript](/example-code/javascript)
65
65
-[Ruby](/example-code/ruby)
66
66
-[Python](/example-code/python)
67
-
-[GoLang](/example-code/go)
67
+
-[Go](/example-code/go)
68
68
-[C#](/example-code/c)
69
-
-[Curl](/example-code/curl)
69
+
-[cURL](/example-code/curl)
70
70
-[VB.NET](/example-code/vb.net)
71
71
72
72
Prefer #NoCode? We also integrate with **[Zapier](integrations/zapier)** and **[Make](integrations/make)**.
@@ -130,21 +130,25 @@ Use the `selector` param to focus on a [specific part of a page](/getting-starte
130
130
131
131
### Resize on the Fly
132
132
133
-
Once an image is generated, use query params to adjust to any size you need with the **width** and **height** params. When only one param is passed, the API will maintain the aspect ratio of the original image.
133
+
Once an image is generated, you can adjust its size using query parameters:
134
+
-**width**: Set the image width (e.g., `?width=400`)
135
+
-**height**: Set the image height (e.g., `?height=300`)
134
136
135
-
**?width=400**
137
+
When only one parameter is specified, the API maintains the original aspect ratio automatically.
138
+
139
+
Example with width=400:
136
140
137
141
{% cloudinary /assets/images/w400.jpeg sizes="200px" alt="Auto adjust the width of your image" %}
138
142
139
-
**?height=300**
143
+
Example with height=300:
140
144
141
145
{% cloudinary /assets/images/h300.jpeg sizes="300px" alt="Auto adjust the height of your image" %}
142
146
143
147
<hr>
144
148
145
149
## Get an API key
146
150
147
-
To use this API, you'll first need an API key. You may retrieve one by [signing up here](https://htmlcsstoimage.com).
151
+
To use this API, you'll need an API key. Get started for free:
148
152
149
-
<ahref="https://htmlcsstoimage.com"target="_blank">Free API Key</a>{: .btn .btn-blue .fs-5 .mb-4 .mb-md-0 }
0 commit comments