seek4science / seek

For finding, sharing and exchanging Data, Models, Simulations and Processes in Science.
http://www.seek4science.org
BSD 3-Clause "New" or "Revised" License
76 stars 52 forks source link

question about using markdown for asset description #895

Open OlgaKrebs opened 2 years ago

OlgaKrebs commented 2 years ago

I woud like to add image to asset description, but how to do this? it does expect URL : " " Can I just upload image to .... any place and use it

fbacall commented 2 years ago

the syntax is: [Description of the image](https://url-to-the-image.com/img.png)

the image can be anywhere on the web, just keep in mind that it is not cached anywhere in SEEK and so could disappear in the future

OlgaKrebs commented 2 years ago

so user HAS TO put an image on the web first? image on local mashine is not usable? this is request from user

fbacall commented 2 years ago

yes, there is no way to upload an image (unless the user uploads it as a data file or document etc.)

OlgaKrebs commented 2 years ago

I TRIED both : upload image as a doc or link to image file in NextCloud - result here https://fairdomhub.org/investigations/566 - no one is shown

fbacall commented 2 years ago

I TRIED both : upload image as a doc or link to image file in NextCloud - result here https://fairdomhub.org/investigations/566 - no one is shown

Can you make this public?

OlgaKrebs commented 2 years ago

why public? it is shared with FAIRDOM project. and with you, Finn

fbacall commented 2 years ago

OK, I wasn't logged in.

It seems like neither the URLs in the markdown point to images.

Not sure what the correct link for the NextCloud file would be, but for the Document on SEEK you need use the URL to the actual image itself.

You can get this by clicking "View Content" and then right click the image that appears and click (depending on your browser) "Copy Image Link". That document is not visible to me so I cannot get the exact link, but it would look something like: https://fairdomhub.org/documents/4064/content_blobs/1234/download?disposition=inline&image_size=600

OlgaKrebs commented 2 years ago

thanks, Finn - for SEEK image it works now