Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 1.04 KB

File metadata and controls

13 lines (10 loc) · 1.04 KB

Photo Upload

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:

  1. 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
  2. org/ecocean/CommonConfiguration.java, first fallback if properties are not initialized
  3. frontend/src/constants/photoUpload.js, second fallback if SiteSettings is not accessible