Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
In backlight 1.02 Photoswipe the frame around the image at the top is not visible - only in fullscreen mode (Desktop size).
In mobile size the whole image with frame is shown:
Rainer
Last edited by Rainer Goergen (2016-06-11 02:22:13)
Offline
Rainer, can you check the location of your screen shot files? They're not coming through and the urls go to 404 Not found errors
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Backlight's implementation of Photoswipe does not support borders around images; this is a customization you've made, so one that you are ultimately responsible for.
Off the top of my head, I would suggest trying to set box-sizing:border-box in your CSS, or try applying the border to a different element. But it may simply be that Photoswipe is not coded to accommodate image borders.
Offline
for what it's worth, for the albums I've looked at, the borders around your images look fine. Using Firefox and Chrome
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I mean the vertical images. Border is on Desktop only in fullscreen mode ok, not in normal mode on desktop (window) etc..
Wherefore the images on my NAS are no more visible? don't know, I have maken an update of the firmware.
Rainer
Offline
Thanks Matthew, I am only testing and reporting things I find not normal for me.
Rainer
Offline
can you provide a link to an album that has any vertical images? So far, all of the albums I've looked at contain only horizontal images.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Probably it's because your vertical images are taking up all of the available space, so the border is getting pushed outside the viewable area.
Offline
It's as Matt says.
The border is still there, it's just not visible because it's blending with the top bar.
I've got a vertical image in this album: http://backlight-rb-test.barbeephoto.co … rst-album/
the image output is set to the maximum of 2000px.
The reason you can see the border on this image is that I've set UI Background color to nearly transparent: RGBA(0, 0, 0, 0.03)
So your options are to use smaller images or to adjust your background colors.
You could add some margin-top to the custom css rule that also contains the borders, but that will push the image down and the bottom border would be hidden. So you'd be back to adjusting UI Background transparency to allow the borders to be seen.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Fixed - changed the value back from new 48 px to 44 px:
.pswp__top-bar {
font-size: 14px;
width: 100%; height: 44px;
}
.pswp__counter {
height: 44px;
line-height: 44px;
}
Rainer
Offline
Pages: 1