필드 · Url Picsum Photos
필드 · Url Picsum Photos · image.urlPicsumPhotos. 생성 메서드 · 예시
image.urlPicsumPhotos
생성 설정
데이터를 생성하면 결과가 표시됩니다.
매개변수 & 예시
Generates a random image url provided via https://picsum.photos.
image.urlPicsumPhotos(options?: { width?, height?, grayscale?, blur? })- options
- Options for generating a URL for an image.
- options.width
- The width of the image. Defaults to a random integer between 1 and 3999.
- options.height
- The height of the image. Defaults to a random integer between 1 and 3999.
- options.grayscale
- Whether the image should be grayscale. Defaults to a random boolean value.
- options.blur
- Whether the image should be blurred. 0 disables the blur. Defaults to a random integer between 0 and 10.
예시
"https://picsum.photos/seed/qlQ9aNJrQ/2672/546"테스트 환경에서 합성 데이터를 사용하세요.