Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with photoswipe custom assets path #28

Open
Zenohactagamat opened this issue Sep 27, 2019 · 3 comments
Open

Issue with photoswipe custom assets path #28

Zenohactagamat opened this issue Sep 27, 2019 · 3 comments

Comments

@Zenohactagamat
Copy link

Hi there !

I have an issue setting my own value for $pswp__assets-path, since the value you set (/assets/media/) doesn't take into account the base href of the site.
Is it possible to change it to ~/assets/media/, or do you know a way I could override this value in my app ?

Thanks !

@Zenohactagamat
Copy link
Author

For information I cloned your module and tried to see what I could do.
The best solution I found was to remove the css imports from the lightbox component and do the imports in my own app.

@wollio
Copy link
Owner

wollio commented Sep 30, 2019

Hi

Sorry I had a busy weekend. I'll look into it now.

@maiermic
Copy link
Contributor

@wollio May I ask what came out?

The best solution I found was to remove the css imports from the lightbox component and do the imports in my own app.

@Zenohactagamat How did you do this? Did you remove the css imports from your project? Did you remove the imports in the angular2_photoswipe project and build a custom version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants