bugy / script-server

Web UI for your scripts with execution management
Other
1.55k stars 246 forks source link

can we set some Image below description of scripts ? #578

Closed jack99trade closed 1 year ago

jack99trade commented 1 year ago

Hi wanted to ask if there is an option to set some image while creating a script for user. just like there is a description for a task.

bugy commented 1 year ago

Hi, if an image is available by some public URL, you can use markdown syntax ![Hello World](https://website.com/path/image.png)

jack99trade commented 1 year ago

Hi, if an image is available by some public URL, you can use markdown syntax ![Hello World](https://website.com/path/image.png)

Hi Thanks it works for me :) able to see the image.

just one question. how do I define the size of this image. it is filling the complete page. if possible to define the size would be nice. I tried something like ![Test](https://localhost/images/steps.png){:height="36px" width="36px"}. -- Do you have some suggestion.

bugy commented 1 year ago

Oh, actually there is another way: just use <img src="https://localhost/images/steps.png" width="36" height="36">

jack99trade commented 1 year ago

Oh, actually there is another way: just use <img src="https://localhost/images/steps.png" width="36" height="36">

@bugy Thank you Mate.. this is working for me. very nice 💯