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

consistent thumbnail ratio across datahub and potentially other gn-ui apps #1074

Open
fvanderbiest opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@fvanderbiest
Copy link
Contributor

Datahub displays thumbnails in several places: activity feed, search, dataset page. The image is cropped to fit into a rectangular box with a different ratio, making it impossible to choose the right image ratio so that the thumbnails never gets cropped.

eg:

  • search thumb : 206x142 - ratio is 1.450704225 ...
  • dataset thumb : 313x183 - ratio is 1.710382514 ...
  • activity feed ....

Also, the customer asked for consistent with geonetwork's original thumb display, though this might be harder to achieve.

@fvanderbiest fvanderbiest added the bug Something isn't working label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant