AtlasOfLivingAustralia / image-service

Image repository and tiling services
https://images.ala.org.au
0 stars 17 forks source link

Resize big images optionally #208

Open vjrj opened 2 months ago

vjrj commented 2 months ago

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.