Lightbox

Frequently Asked Questions

Lightbox Settings - Best Practices

phpBB already handles image resizing for attachments. The following settings are just a guide to illustrate how to best set up the Lightbox and phpBB attachement image categry settings so the Lightbox effect will be consistent for all types of phpBB posted images (img bbcode, inline attachments and regular attachments):

Key concepts:
  1. It's best to match the Lightbox maximum width dimension with the image attachments maximum thumbnail width dimension.
  2. If you've set the image attachments maximum image dimensions then make sure the Lightbox maximum width is a smaller value.
    Otherwise, attached images will always, or only sometimes, actually get Lightboxed.

Example Settings:
  • Lightbox settings:
    • Maximum image width in pixel: 400
  • Attachment Image Category settings:
    • Display images inline: Yes
    • Create thumbnail: Yes or No
    • Maximum thumbnail width in pixel: 400 (is consistent when equal to lightbox)
    • Minimum thumbnail file size: 800
    • Maximum image dimensions: 0 0 (disabled or or use bigger values than lightbox)
    • Image link dimensions: 0 0 (disabled or or use bigger values than lightbox)

Screen Shot 2016-02-22 at 12.56.16 PM.png

Screen Shot 2016-02-22 at 12.57.19 PM.png