Image lightbox not working in subfolder install

This implies your Discourse is not set up correctly, primarily because the background sidekick tasks necessary to do the background image work are not running.