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

Homepage contains blurry thumbnails #8254

Open
jjohnston-aims opened this issue Jul 11, 2024 · 1 comment
Open

Homepage contains blurry thumbnails #8254

jjohnston-aims opened this issue Jul 11, 2024 · 1 comment

Comments

@jjohnston-aims
Copy link

Describe the bug
In the sample of records at the bottom of the homepage, each record has a thumbnail which is blurry. Inspecting the image I see .jpg?size=320 in the url, however the layout shows the dimensions of the div to be 438px wide.

There is a similar blurry image issue in the homepage gallery div, but we have implemented a workaround by turning this off.

To Reproduce

Problem also occurs when images are added via Associated resource.

Expected behavior
Images should not be blurry, particularly when larger images are available.

Screenshots
GN4_blurry

Desktop (please complete the following information):

  • Browser Firefox, and Edge
  • GeoNetwork Version 4.2.9 (via docker)
@fxprunayre
Copy link
Member

We probably need to add a parameter for this small image stored in the index. To be done around https://github.com/geonetwork/core-geonetwork/blob/main/core/src/main/java/org/fao/geonet/kernel/search/index/OverviewIndexFieldUpdater.java#L42

For the mosaic, you can turn it off in UI setting in the admin console (see https://github.com/geonetwork/core-geonetwork/blob/main/web-ui/src/main/resources/catalog/js/CatController.js#L139).

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

No branches or pull requests

2 participants