i've got problem height size of photoswipe (v3.0.5) on ios (only on ios, works fine on safari or android). upload pictures server , save resize of 800px max (f.e. 643x800 or 800x530, depends of original size). thing when try visualize on our phonegap app on ios, images make height of page became bigger screen , image don't fit screen. think bug has nothing see css, because works perfect jpg images , works fine on other platforms. problems start when upload png images or high resolution jpg images (i'd checked visualizing resize one).
did happen else?
thanks!
i found solution. if had css code photoswipe.css work perfectly:
.ps-document-overlay, .ps-carousel {
max-height: 100%; max-width: 100%;
}
.ps-toolbar {
margin-top: -1px;
}
Comments
Post a Comment