Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connected file sharing with thumbnails #7858

Closed
2 tasks done
davy-blavette opened this issue May 7, 2024 · 3 comments
Closed
2 tasks done

Connected file sharing with thumbnails #7858

davy-blavette opened this issue May 7, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@davy-blavette
Copy link

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 ^^

image

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

@davy-blavette davy-blavette added the enhancement New feature or request label May 7, 2024
@bsekachev
Copy link
Member

bsekachev commented May 7, 2024

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.

@davy-blavette
Copy link
Author

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!?

@bsekachev
Copy link
Member

I do not think we will work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants