Skip to content

Commit 1c6c342

Browse files
committed
improvements
1 parent b66c30b commit 1c6c342

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

index.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ To get started quickly, take a look at our example code.
6464
- [JavaScript](/example-code/javascript)
6565
- [Ruby](/example-code/ruby)
6666
- [Python](/example-code/python)
67-
- [GoLang](/example-code/go)
67+
- [Go](/example-code/go)
6868
- [C#](/example-code/c)
69-
- [Curl](/example-code/curl)
69+
- [cURL](/example-code/curl)
7070
- [VB.NET](/example-code/vb.net)
7171

7272
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
130130

131131
### Resize on the Fly
132132

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`)
134136

135-
**?width=400**
137+
When only one parameter is specified, the API maintains the original aspect ratio automatically.
138+
139+
Example with width=400:
136140

137141
{% cloudinary /assets/images/w400.jpeg sizes="200px" alt="Auto adjust the width of your image" %}
138142

139-
**?height=300**
143+
Example with height=300:
140144

141145
{% cloudinary /assets/images/h300.jpeg sizes="300px" alt="Auto adjust the height of your image" %}
142146

143147
<hr>
144148

145149
## Get an API key
146150

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:
148152

149-
<a href="https://htmlcsstoimage.com" target="_blank">Free API Key</a>{: .btn .btn-blue .fs-5 .mb-4 .mb-md-0 }
150-
[API Docs](/getting-started/using-the-api/){: .btn .fs-5 .mb-4 .mb-md-0 }
153+
[Get an API Key](https://htmlcsstoimage.com){: .btn .btn-blue .fs-5 .mb-4 .mb-md-0 .mr-2 }
154+
[View API Docs](/getting-started/using-the-api/){: .btn .fs-5 .mb-4 .mb-md-0 }

0 commit comments

Comments
 (0)