SOLVED: How to add images to a diary entry with Kramdown?
Postat de ABZ_OSM pe 10 iulie 2020 în English Ultima actualizare pe 16 iulie 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.
Discuție
Comentariu de la AkuAnakTimur pe 10 iulie 2020 la 07:26
The code

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.Comentariu de la GOwin pe 12 iulie 2020 la 03:21
To display the image below from Google drive
I used

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
Comentariu de la AkuAnakTimur pe 12 iulie 2020 la 14:09
@GOwin Wow, thanks for your tip!
Comentariu de la ABZ_OSM pe 13 iulie 2020 la 16:32
That is very helpful, thank you :)
Comentariu de la ABZ_OSM pe 13 iulie 2020 la 16:33
If I tag you @GOwin, as @AkuAnakTimur has done above, does that flag up so you will see it?
Comentariu de la GOwin pe 14 iulie 2020 la 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.