ตราสัญลักษณ์ OpenStreetMap OpenStreetMap

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

โพสต์โดย ABZ_OSM เมื่อ 10 กรกฎาคม 2020 ในภาษา English อัปเดตล่าสุดเมื่อ 16 กรกฎาคม 2020

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.

Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

การอภิปราย

ความคิดเห็นจาก AkuAnakTimur เมื่อ 10 กรกฎาคม 2020 เมื่อเวลา 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.

ความคิดเห็นจาก GOwin เมื่อ 12 กรกฎาคม 2020 เมื่อเวลา 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

ความคิดเห็นจาก AkuAnakTimur เมื่อ 12 กรกฎาคม 2020 เมื่อเวลา 14:09 น.

@GOwin Wow, thanks for your tip!

ความคิดเห็นจาก ABZ_OSM เมื่อ 13 กรกฎาคม 2020 เมื่อเวลา 16:32 น.

That is very helpful, thank you :)

ความคิดเห็นจาก ABZ_OSM เมื่อ 13 กรกฎาคม 2020 เมื่อเวลา 16:33 น.

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

ความคิดเห็นจาก GOwin เมื่อ 14 กรกฎาคม 2020 เมื่อเวลา 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.

เข้าสู่ระบบเพื่อแสดงความคิดเห็น