There are currently three places to change the default photo upload size and default max count amount. These three places affect these pages or modals: Submit -> Report an Encounter, Submit -> Report an Encounter (classic), Submit -> Bulk Import, Submit -> Bulk Import -> See Instructions.
This is linked from comments in the relevant files which say: Refer to PhotoUploadDevNotes.md for information/where else to change. Non-development properties files are not annotated with this comment since those files will be changed by users.
Order of using:
commonConfiguration.properties, which each production Wildbook can change if needed- ./devops/deploy/.dockerfiles/tomcat/commonConfiguration.properties
- ./devops/development/.dockerfiles/tomcat/commonConfiguration.properties
- ./src/main/resources/bundles/commonConfiguration.properties
org/ecocean/CommonConfiguration.java, first fallback if properties are not initializedfrontend/src/constants/photoUpload.js, second fallback if SiteSettings is not accessible