fix: allow 50 MP smartphone photos in bulk image upload
NetBox sets Pillow's MAX_IMAGE_PIXELS to 25 MP, so Pillow rejects images above 50 MP as decompression bombs. Raise the limit to 100 MP while the bulk upload is processed and surface the underlying Pillow error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -541,6 +541,12 @@ Anzeigename bleibt der jeweilige ursprüngliche Dateiname erhalten. Benötigt
|
||||
werden weiterhin die NetBox-Berechtigung zum Hinzufügen von Bildanhängen und
|
||||
eine Leseberechtigung für das Zielobjekt.
|
||||
|
||||
NetBox begrenzt Pillow global auf 25 Megapixel und lehnt Bilder ab 50
|
||||
Megapixeln ab. Damit aktuelle 50-MP-Smartphone-Fotos (z. B. Google Pixel,
|
||||
8160×6144) hochgeladen werden können, hebt der Mehrfach-Upload dieses Limit
|
||||
während der Verarbeitung auf 100 Megapixel an. Wird ein Bild abgelehnt, zeigt
|
||||
das Formular zusätzlich die genaue Fehlermeldung von Pillow an.
|
||||
|
||||
### Module mehrfach einbauen
|
||||
|
||||
Unter **Plugins > NetBox Utilities > Module mehrfach einbauen** kann ein
|
||||
|
||||
Reference in New Issue
Block a user