回答編集履歴

2

GASでの出力を追加

2018/06/15 12:09

投稿

shinobu_osaka
shinobu_osaka

スコア456

test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- ```
9
+ ```URL
10
10
 
11
11
  https://drive.google.com/uc?id={ファイルID}&.png
12
12
 
@@ -15,3 +15,25 @@
15
15
 
16
16
 
17
17
  で回避できるかと思いますのでお試し下さい。
18
+
19
+
20
+
21
+ さらに追加…
22
+
23
+
24
+
25
+ よく考えたら普通のHTMLじゃなくてGASからの出力ですよね?
26
+
27
+ ならコード内で
28
+
29
+ ```GAS
30
+
31
+ .setFaviconUrl('https://drive.google.com/uc?id={ファイルID}&.png');
32
+
33
+ ```
34
+
35
+ こうするのが正しいかと思います。
36
+
37
+
38
+
39
+ setFaviconUrlについては[こちら](https://developers.google.com/apps-script/reference/html/html-output)を参照ください。

1

間違い訂正

2018/06/15 12:09

投稿

shinobu_osaka
shinobu_osaka

スコア456

test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  ```
10
10
 
11
- https://drive.google.com/open?id={driveID}&.png
11
+ https://drive.google.com/uc?id={ファイルID}&.png
12
12
 
13
13
  ```"
14
14