開放街圖標誌 OpenStreetMap 開放街圖

SOLVED: How to add images to a diary entry with Kramdown?

於 2020年七月10日 由 ABZ_OSMEnglish發表。 上一次更新在 2020年七月16日。

I understand that this text is interpreted and formatted using the Kramdown markup language, and that to insert an image I need only add

”! [my interesting image] (http://location_of_my_image_x_y_z.org)”

So I put my image on my Google drive and shared it publically and it did not display.

What do I have to do to display images, and is there a space I can upload images to which will display them when I link.

電子郵件圖示 藍天圖示 Facebook 圖示 LinkedIn 圖示 乳齒象圖示 Telegram 圖示 X 圖示

討論

AkuAnakTimur2020年07月10日 07時26分 發表的評論

The code ![my interesting image](https://url.goes/to/google/drive) may be correct, but I think Google Drive may disallow hotlinking of image files. Try another image hosting service e.g. Imgur or the upload the said images to OSM Wiki.

GOwin2020年07月12日 03時21分 發表的評論

To display the image below from Google drive an image

I used ![an image](https://drive.google.com/uc?export=view&id=0Bx2ZEB1j3NXKLUgwckFaRG9XZkE)

It’s a different URL, don’t just copy and paste the link you got from Google Drive. Also, you need to replace the id value after the equal sign with the unique id for your file

AkuAnakTimur2020年07月12日 14時09分 發表的評論

@GOwin Wow, thanks for your tip!

ABZ_OSM2020年07月13日 16時32分 發表的評論

That is very helpful, thank you :)

ABZ_OSM2020年07月13日 16時33分 發表的評論

If I tag you @GOwin, as @AkuAnakTimur has done above, does that flag up so you will see it?

GOwin2020年07月14日 00時04分 發表的評論

Tagging usernames (e.g. @username) doesn’t notify any user .

The only reason I get to read this is because I left an earlier comment in the thread, and that automatically subscribes you to it, if there are new comments added since.

登入 來留下評論