Google Driver

Sep1 啟用Api

Google Driver js教學

圖片的使用

取得網址為↓
https://drive.google.com/file/d/1HDh0GvM2Kk-YaqtREE9a3znSrc96kI5c/view?usp=sharing
複製網址中的{id}
https://drive.google.com/file/d/{1RV1W88E5U6ssO1_7ktLEQxtZx-6i2SEo}/view?usp=sharing

https://drive.usercontent.google.com/download?id=1RV1W88E5U6ssO1_7ktLEQxtZx-6i2SEo&export=view&authuser=0

將 id 貼在下列網址末端
https://drive.google.com/uc?export=view&id=1HDh0GvM2Kk-YaqtREE9a3znSrc96kI5c
https://drive.google.com/file/d//view?usp=sharing

Angular 寫法

"'https://drive.google.com/thumbnail?id='+item.image+'&sz=w1366'"
1
<img [src]="'https://drive.google.com/thumbnail?id='+item.image+'&sz=w1366'"/>