Browse Source

remove image size limitation

jason 2 years ago
parent
commit
9e7e39bd14
1 changed files with 1 additions and 0 deletions
  1. 1 0
      backstage/upload/routes.py

+ 1 - 0
backstage/upload/routes.py

@@ -13,6 +13,7 @@ import uuid
 import json
 from backstage.config import PORTAL_SERVER
 
+Image.MAX_IMAGE_PIXELS = None
 
 #from backstage.utils.routes import update_manage_table