wollio / angular2_photoswipe

An angular2 PhotoSwipe component
MIT License
31 stars 14 forks source link

Issue with photoswipe custom assets path #28

Open Zenohactagamat opened 5 years ago

Zenohactagamat commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

Hi

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

maiermic commented 3 years ago

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