Skip to content

Commit 032d5ce

Browse files
authored
fix: replace unsupported image placeholder service (#71)
Replace "unsplash" (https://unsplash.com) with "picsum" (https://picsum.photos) for random placeholder images, because "unsplash sources" has been finally turned off(*). (*) https://unsplash.com/documentation/changelog#unsplash-source-sunset
1 parent c848d81 commit 032d5ce

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

elements.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,14 +287,14 @@ <h2>Images</h2>
287287
</header>
288288
<div>
289289
<h3>No <code>&lt;figure&gt;</code> element</h3>
290-
<p><img src="https://source.unsplash.com/random/1000x600" alt="Image alt text" width="750" height="400">
290+
<p><img src="https://picsum.photos/seed/elems-1/1000/600" alt="Image alt text" width="750" height="400">
291291
</p>
292292
<h3>Wrapped in a <code>&lt;figure&gt;</code> element, no <code>&lt;figcaption&gt;</code></h3>
293-
<figure><img src="https://source.unsplash.com/random/600x400?sig=1" alt="Image alt text" width="600"
293+
<figure><img src="https://picsum.photos/seed/elems-2/600/400" alt="Image alt text" width="600"
294294
height="400"></figure>
295295
<h3>Wrapped in a <code>&lt;figure&gt;</code> element, with a <code>&lt;figcaption&gt;</code></h3>
296296
<figure>
297-
<img src="https://source.unsplash.com/random/600x800?sig=2" alt="Image alt text" width="600" height="800">
297+
<img src="https://picsum.photos/seed/elems-3/600/800" alt="Image alt text" width="600" height="800">
298298
<figcaption>Here is a caption for this image.</figcaption>
299299
</figure>
300300
</div>

0 commit comments

Comments
 (0)