Connected file sharing with thumbnails
davy-blavette opened this issue · comments
Actions before raising this issue
- I searched the existing issues and did not find anything similar.
- I read/searched the docs
Is your feature request related to a problem? Please describe.
I'm seriously thinking of taking over cvat to add a lot of features, I'd have to join the team but for the moment I'm still discovering the project. I'd like to add a thumbnail to files (share mount), but I'm not sure where to start. components > file-manager.tsx? I'm a bit lost for adding the img tag and finding the filename, if you could help me a bit ^^
Describe the solution you'd like
Have an image thumbnail instead of the file name
Describe alternatives you've considered
No response
Additional context
No response
Hello,
This minor improvement is gonna be very difficult.
And here you need to start from the server part. Client does not attach to a cloud/shared storage directly.
Thanks for your answer.
Yes, it's server-side, I see there's an API call:
http://192.168.2.46:8080/api/server/share?org=&directory=20240422_163814%2F
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/vnd.cvat+json
Vary: Accept
[
{
"name": "product _20240506_001.png",
"type": "REG",
"mime_type": "image"
},
{
"name": "product _20240506_002.png",
"type": "REG",
"mime_type": "image"
},
Just add "base64/img": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ"?
...so on http://192.168.2.46:8080/api/docs/#tag/server/operation/server_list_share and to modify this it's with cvat-cli!?
I do not think we will work on this.