Skip to main content

Basic

Media Formats

Not all image formats are supported in browsers so although you may be able to add them via the ALLOWED_FILE_TYPES environment variable they may not be supported. One such format is Apples .heic format. It is specific to Apple devices and due to its licensing, a lot of browsers have not implemented it.

NameValue
TITLEWeddingShare
LOGOhttps://someurl/someimage.png
BASE_URLwww.wedding-share.com
LANGUAGEen-GB
FORCE_HTTPSfalse
DEFAULT_THEMEdefault (default, dark)
LINKS_OPEN_NEW_TABtrue
SHOW_IDENTITY_REQUESTtrue
DISABLE_HOME_LINKfalse
DISABLE_DARK_MODEfalse
DISABLE_GUEST_GALLERY_CREATIONtrue
SINGLE_GALLERY_MODEfalse
DEFAULT_GALLERY_VIEW0 (Default), 1 (Presentation), 2 (Slideshow)
ALLOWED_FILE_TYPES.jpg,.jpeg,.png
MAX_FILE_SIZE_MB10
THUMBNAIL_SIZE720
HIDE_KEY_FROM_QR_CODEfalse
IDLE_GALLERY_REFRESH_MINS5 (0 = disable)
EMAIL_REPORTtrue

Gallery Overrides#

Gallery Overrides

Any setting marked Yes in the table below can have a gallery specific override by appending the gallery name to the end of the key. For example if the environment variable REQUIRE_REVIEW_PROPOSAL is specified it will override the value specified using the REQUIRE_REVIEW environment variable.

NameValue
TITLEWeddingShare
LOGOhttps://someurl/someimage.png
REQUIRE_REVIEWtrue
SECRET_KEY(optional)
GALLERY_COLUMNS4 (1, 2, 3, 4, 6, 12)
GALLERY_QUOTE(optional)
DISABLE_REVIEW_COUNTERfalse
DISABLE_UPLOADfalse
DISABLE_DOWNLOADfalse
DISABLE_QR_CODEfalse
FULL_WIDTH_GALLERYfalse
RETAIN_REJECTED_ITEMSfalse
MAX_GALLERY_SIZE_MB1024