Skip to content

Commit

Permalink
increase image upload size to 4mb (#1576)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwvolo authored Jul 30, 2024
1 parent a76de8e commit f2d162a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openstax/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@
'jpg': 'webp',
'png': 'webp',
}
WAGTAILIMAGES_MAX_UPLOAD_SIZE = 2 * 1024 * 1024 # 2MB
WAGTAILIMAGES_MAX_UPLOAD_SIZE = 4 * 1024 * 1024 # 4MB
DATA_UPLOAD_MAX_NUMBER_FIELDS = 10240

WAGTAILADMIN_RICH_TEXT_EDITORS = {
Expand Down

0 comments on commit f2d162a

Please sign in to comment.