html 页面中的 Google 照片

问题描述 投票:0回答:1

我在 Google 照片上上传了一张照片。从相册创建了共享链接。我想在 html 页面中显示图像。 以下是代码:

<!DOCTYPE html>
<html>
<head>
    <title>Photo from Google Photos</title>
</head>
<body>
    <h1>My Photo from Google Photos</h1>
    <img src="https://photos.app.goo.gl/p5zKANtqKhoqdM9q8" alt="Test Photo">
</body>
</html>

图像未显示。该链接没有公开共享吗?如果没有,如何做,以便图像url可以在html代码中使用。

google-photos
1个回答
0
投票

看来,Google Photos 中的图像不能在 HTML 页面中使用。这是链接

© www.soinside.com 2019 - 2024. All rights reserved.