@@ -30,9 +30,9 @@ export class Image {
3030 /**
3131 * Generates a random image url from one of the supported categories.
3232 *
33- * @param width The width of the image.
34- * @param height The height of the image.
35- * @param randomize Whether to randomize the image or not.
33+ * @param width The width of the image. Defaults to `640`.
34+ * @param height The height of the image. Defaults to `480`.
35+ * @param randomize Whether to randomize the image or not. Defaults to `false`.
3636 *
3737 * @example
3838 * faker.image.image() // 'http://placeimg.com/640/480/city'
@@ -79,7 +79,7 @@ export class Image {
7979 * @param width The width of the image. Defaults to `640`.
8080 * @param height The height of the image. Defaults to `480`.
8181 * @param category The category of the image. By default, a random one will be selected.
82- * @param randomize Whether to randomize the image or not.
82+ * @param randomize Whether to randomize the image or not. Defaults to `false`.
8383 * @param https When true, return a `https` url. Otherwise, return a `http` url.
8484 *
8585 * @example
@@ -117,9 +117,9 @@ export class Image {
117117 /**
118118 * Generates a random abstract image url.
119119 *
120- * @param width The width of the image.
121- * @param height The height of the image.
122- * @param randomize Whether to randomize the image or not.
120+ * @param width The width of the image. Defaults to `640`.
121+ * @param height The height of the image. Defaults to `480`.
122+ * @param randomize Whether to randomize the image or not. Defaults to `false`.
123123 *
124124 * @example
125125 * faker.image.abstract() // 'http://placeimg.com/640/480/abstract'
@@ -133,9 +133,9 @@ export class Image {
133133 /**
134134 * Generates a random animal image url.
135135 *
136- * @param width The width of the image.
137- * @param height The height of the image.
138- * @param randomize Whether to randomize the image or not.
136+ * @param width The width of the image. Defaults to `640`.
137+ * @param height The height of the image. Defaults to `480`.
138+ * @param randomize Whether to randomize the image or not. Defaults to `false`.
139139 *
140140 * @example
141141 * faker.image.animals() // 'http://placeimg.com/640/480/animals'
@@ -149,9 +149,9 @@ export class Image {
149149 /**
150150 * Generates a random business image url.
151151 *
152- * @param width The width of the image.
153- * @param height The height of the image.
154- * @param randomize Whether to randomize the image or not.
152+ * @param width The width of the image. Defaults to `640`.
153+ * @param height The height of the image. Defaults to `480`.
154+ * @param randomize Whether to randomize the image or not. Defaults to `false`.
155155 *
156156 * @example
157157 * faker.image.business() // 'http://placeimg.com/640/480/business'
@@ -165,9 +165,9 @@ export class Image {
165165 /**
166166 * Generates a random cat image url.
167167 *
168- * @param width The width of the image.
169- * @param height The height of the image.
170- * @param randomize Whether to randomize the image or not.
168+ * @param width The width of the image. Defaults to `640`.
169+ * @param height The height of the image. Defaults to `480`.
170+ * @param randomize Whether to randomize the image or not. Defaults to `false`.
171171 *
172172 * @example
173173 * faker.image.cats() // 'http://placeimg.com/640/480/cats'
@@ -181,9 +181,9 @@ export class Image {
181181 /**
182182 * Generates a random city image url.
183183 *
184- * @param width The width of the image.
185- * @param height The height of the image.
186- * @param randomize Whether to randomize the image or not.
184+ * @param width The width of the image. Defaults to `640`.
185+ * @param height The height of the image. Defaults to `480`.
186+ * @param randomize Whether to randomize the image or not. Defaults to `false`.
187187 *
188188 * @example
189189 * faker.image.city() // 'http://placeimg.com/640/480/city'
@@ -197,9 +197,9 @@ export class Image {
197197 /**
198198 * Generates a random food image url.
199199 *
200- * @param width The width of the image.
201- * @param height The height of the image.
202- * @param randomize Whether to randomize the image or not.
200+ * @param width The width of the image. Defaults to `640`.
201+ * @param height The height of the image. Defaults to `480`.
202+ * @param randomize Whether to randomize the image or not. Defaults to `false`.
203203 *
204204 * @example
205205 * faker.image.food() // 'http://placeimg.com/640/480/food'
@@ -213,9 +213,9 @@ export class Image {
213213 /**
214214 * Generates a random nightlife image url.
215215 *
216- * @param width The width of the image.
217- * @param height The height of the image.
218- * @param randomize Whether to randomize the image or not.
216+ * @param width The width of the image. Defaults to `640`.
217+ * @param height The height of the image. Defaults to `480`.
218+ * @param randomize Whether to randomize the image or not. Defaults to `false`.
219219 *
220220 * @example
221221 * faker.image.nightlife() // 'http://placeimg.com/640/480/nightlife'
@@ -229,9 +229,9 @@ export class Image {
229229 /**
230230 * Generates a random fashion image url.
231231 *
232- * @param width The width of the image.
233- * @param height The height of the image.
234- * @param randomize Whether to randomize the image or not.
232+ * @param width The width of the image. Defaults to `640`.
233+ * @param height The height of the image. Defaults to `480`.
234+ * @param randomize Whether to randomize the image or not. Defaults to `false`.
235235 *
236236 * @example
237237 * faker.image.fashion() // 'http://placeimg.com/640/480/fashion'
@@ -245,9 +245,9 @@ export class Image {
245245 /**
246246 * Generates a random people image url.
247247 *
248- * @param width The width of the image.
249- * @param height The height of the image.
250- * @param randomize Whether to randomize the image or not.
248+ * @param width The width of the image. Defaults to `640`.
249+ * @param height The height of the image. Defaults to `480`.
250+ * @param randomize Whether to randomize the image or not. Defaults to `false`.
251251 *
252252 * @example
253253 * faker.image.people() // 'http://placeimg.com/640/480/people'
@@ -261,9 +261,9 @@ export class Image {
261261 /**
262262 * Generates a random nature image url.
263263 *
264- * @param width The width of the image.
265- * @param height The height of the image.
266- * @param randomize Whether to randomize the image or not.
264+ * @param width The width of the image. Defaults to `640`.
265+ * @param height The height of the image. Defaults to `480`.
266+ * @param randomize Whether to randomize the image or not. Defaults to `false`.
267267 *
268268 * @example
269269 * faker.image.nature() // 'http://placeimg.com/640/480/nature'
@@ -277,9 +277,9 @@ export class Image {
277277 /**
278278 * Generates a random sports image url.
279279 *
280- * @param width The width of the image.
281- * @param height The height of the image.
282- * @param randomize Whether to randomize the image or not.
280+ * @param width The width of the image. Defaults to `640`.
281+ * @param height The height of the image. Defaults to `480`.
282+ * @param randomize Whether to randomize the image or not. Defaults to `false`.
283283 *
284284 * @example
285285 * faker.image.sports() // 'http://placeimg.com/640/480/sports'
@@ -293,9 +293,9 @@ export class Image {
293293 /**
294294 * Generates a random technics image url.
295295 *
296- * @param width The width of the image.
297- * @param height The height of the image.
298- * @param randomize Whether to randomize the image or not.
296+ * @param width The width of the image. Defaults to `640`.
297+ * @param height The height of the image. Defaults to `480`.
298+ * @param randomize Whether to randomize the image or not. Defaults to `false`.
299299 *
300300 * @example
301301 * faker.image.technics() // 'http://placeimg.com/640/480/technics'
@@ -309,9 +309,9 @@ export class Image {
309309 /**
310310 * Generates a random transport image url.
311311 *
312- * @param width The width of the image.
313- * @param height The height of the image.
314- * @param randomize Whether to randomize the image or not.
312+ * @param width The width of the image. Defaults to `640`.
313+ * @param height The height of the image. Defaults to `480`.
314+ * @param randomize Whether to randomize the image or not. Defaults to `false`.
315315 *
316316 * @example
317317 * faker.image.transport() // 'http://placeimg.com/640/480/transport'
@@ -325,8 +325,8 @@ export class Image {
325325 /**
326326 * Generates a random data uri containing an svg image.
327327 *
328- * @param width The width of the image.
329- * @param height The height of the image.
328+ * @param width The width of the image. Defaults to `640`.
329+ * @param height The height of the image. Defaults to `480`.
330330 * @param color The color to use. Defaults to `grey`.
331331 *
332332 * @example
0 commit comments