Repository navigation
breaking change: the options png_enabled, gif_enabled, webp_enabled and avif_enabled were removed and replaced by the srcset option (and the existing image_extensions option); the avif srcset is now disabled by default to provide faster image generation
you should delete the content of the cache/ folder after this update, to cleanly regenerate all images and zip archives.
- fix transposed dimensions of images with an exif orientation (5-8): the detail image was cropped, and previews, srcset and download files did not match the dimensions in their filenames
- new optional
imagickimage driver (config optionimage_driver); with this driver, the ICC color profile is kept by default (keep_colorprofile), and exif data can optionally be kept (keep_exif); the twokeep_*options can also be set per gallery viagallery.txt - with the
imagickimage driver, images are converted to sRGB before the ICC color profile is removed, ifkeep_colorprofileis set tofalse; this way, wide gamut images keep their correct colors; the conversion requireslcmssupport, otherwise the color profile is just removed - downloads now keep the original date/time instead of the download time; the date is stored in .zip downloads as the entry date (exif date, or file modification date if no exif date is available) and sent as
Last-Modifiedheader for single image downloads; new config optiondownload_keep_date(set tofalseto use the download time instead) which can also be set per gallery viagallery.txt - the
png_enabled,gif_enabled,webp_enabledandavif_enabledoptions were removed: source images of these formats are now always handled, as long as the image driver supports them (to exclude filetypes as gallery images, remove them fromimage_extensions); instead, the new optionsrcsetcontrols which formats are offered in the<picture>srcset and in which priority order; removing a format no longer affects source images, previews or downloads, so replace e.g.'avif_enabled' => falseby removing'avif'from thesrcsetarray; preview images are now always generated as jpg - the navigation arrows on the single image page now automatically switch between a light and dark color, based on the brightness of the image behind them