You are not using a supported frontend theme like EXT:bootstrap_package or EXT:css_styled_content.
Please read the documentation (https://github.com/jonathanheilmann/ext-jh_photoswipe) to add a custom template.