Adds a gallery to Advanced Sidebox using XThreads images