benjaminkott / bootstrap_package

Bootstrap Package delivers a full configured theme for TYPO3, based on the Bootstrap CSS Framework.
https://www.bootstrap-package.com/
MIT License
337 stars 202 forks source link

Photoswipe icons are missing when using composer installers v4 #1244

Closed Patta closed 1 year ago

Patta commented 1 year ago

Bug Report

Prerequisites

Description

The relative paths to the photoswipe images default-skin.png and default-skin.svg are not resolved correctly when the new composer installers v4 are used. This results in missing icons in the image lightbox.

Expected behavior

Photoswipe lightbox icons are visible.

Actual behavior

Photoswipe lightbox icons are not visible.

Screenshots

image

Versions

TYPO3 11.5.22 bootstrap_package 13.0.1

buepro commented 1 year ago

What about setting the typoscript constant plugin.bootstrap_package.settings.scss.pswp__assets-path = ../../Images/PhotoSwipe/? In case you roll the theme in your site package add the resources as well there (copy Resources/Public/Images/PhotoSwipe). Mind the relative path from the theme file to the PhotoSwipe folder.

benjaminkott commented 1 year ago

resolved with https://github.com/benjaminkott/bootstrap_package/commit/2ab06cf6c551ab281be9e4889a1e16855f453d50