-
Notifications
You must be signed in to change notification settings - Fork 33
Configuration
The configuration file is held within the app/config/
directory, where multiple values can be altered to manipulate how images are saved, displayed and served to users.
This value controls whether just the raw image file should be served or a HTML page containing the image. The HTML page can be altered to contain anything you'd like, including Twitter card meta tags (already included!) If set to true
, just the image will be displayed.
define('RAW_IMAGE', true);
Changing this value will control whether the script returns a link to the raw image or the viewer page when an image is uploaded. E.G. If set to true, you'll receive the URL with /images/png/dInD3.png
on the end, rather than just the hash.
define('RAW_IMAGE_LINK', true);
Setting this value controls the passkey you'll need to provide to upload images to the application. More information on what this is used for at /wiki/Setup.
define('PASSKEY', "password goes here");
This value will set the prefix of the <title>
element on HTML-view pages.
define('APP_NAME', "application name");