Modify it as our needs. This setting is related to the Values List setting.
Filtering Mode: Exact match
Underlying Data Type: Integer (unsigned, usually 32-bit)
Chapter
Title: Chapter
Key: manga_chapter
Applicable Forums: Select the Manga forum
Hide on Show thread: Checked
Display Order: 2
Editable by / Required Field? Everyone (required)
Maximum Text Length: 5
Text Mask Filter: Digits
Field Input Width: 5
Filtering Mode: Exact match
Underlying Data Type: Integer (unsigned, usually 32-bit)
Images, it will be used as pages.
Note that we'll use multiple images here. There is a limit for Upload Max File Size and Max Post Size. Also there is a limit for the maximum number of files that can be uploaded via a single request (max_file_uploads). Since mostly a chapter contains more than 20 pages (images), to "bypass" the limit, it is better to hit the preview button after uploading each 5 images at one time, then continue uploading the next 5 images. It also helps reduce the process for each image uploaded in one time.
Title: Images
Key: manga_images
Applicable Forums: Select the Manga forum
Hide on Show thread: Checked
Input Field Type: File
Display Order: 3
Editable by / Required Field? Everyone (required)
Valid File Extensions: png|jpg|jpeg
Modify it as our needs
Maximum File Size: 307200
Modify it as our needs. It is in bytes.
Only Accept Image Files: Yes
Minimum Image Dimensions: 800x800
Modify it as our needs
Maximum Image Dimensions: 1920x1920
Modify it as our needs
Image Thumbnail Generation
Code:
smthumb=scale_min(160, 120)->crop(160,120)
It will crop the image to 160x120. Modify it as our needs.
Allow multiple values for this field: Yes
Maximum Number of Values: 24
The maximum number of images/pages can be uploaded. Modify it as our needs.
Description: Please upload the images ordered by the page. It is recommended you hit the Preview button after uploading 5 images.
Modify it as our needs.
We use Lightbox to view the images, since the lightbox has Next and Previous navigation as "pages" navigation.
So, download it, and place it inside cache/lightbox/ directory.
Note that each image will be displayed in full size after clicking each thumbnail, ignoring the viewport. If you don't want it to be like that, remove this code from the display format above:
I only use horizontal postbit (based on the default 1.8 postbit template). If we want to use classic too, create manga_postbit_first_classic, copy and paste you default postbit_classic into the new template. Basically, we only need to put this code inside the templates: