When you upload a customised CP login page it does get backed up as part of the XML config file (I've done it so I know it works). The pictures ought to be included as well, assuming you uploaded them via the 'file upload' section of the captive portal configuration pages.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.