Ben
Ben

Reputation: 5172

Photoswipe.js // Adding padding to image

Using photoswipe.js, which is pretty cool

Just a thing that is kind of bothring, the images are always touching the boudaries of the viewport (meaning no whitespace aroudn the image)

Does anyone experienced about adding this specificity ?

Upvotes: 1

Views: 435

Answers (1)

Ufuk Hacıoğulları
Ufuk Hacıoğulları

Reputation: 38468

I needed the same functionality so I added a padding option for image carousel. I already sent a pull request but I don't know if it will get merged. Anyway you can get the change based on v3.0.5 from here or by building from this branch.

Upvotes: 1

Related Questions