wollio/angular2_photoswipe

Issue with photoswipe custom assets path

Opened this issue · 3 comments

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 !

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.

Hi

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

@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?