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

Resize big images optionally #208

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Resize big images optionally #208

wants to merge 2 commits into from

Conversation

vjrj
Copy link
Contributor

@vjrj vjrj commented Jul 26, 2024

In gbif.es we have a dataset (760k occurrences) with big images (20-30 MB each) that it's causing us issues for storing/backup/etcetera. One image:

image

This optional functionality allows a LA portal to resize images if the images exceed a configured width. For instance:

imageservice:
  images:
    maxWidth: 1920

It store a smaller image version of the original:

image

If this is not configured (or set to -1) it does not resize the original images.

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

Successfully merging this pull request may close these issues.

1 participant