Thread Starter
JustinF
(@justinfeldman)
Please note:
If you visit the link I provided, the problem does not appear to be present. This is ONLY because I came up with a solution using CSS. But this solution took me quite a while to come up with and does not resolve the overall plugin error.
Hi!
Popup Image size option is working in such way – if all your images are the same size as you have set for “Popup Image size” or bigger – in this case popup image for all pictures in your gallery will comply the specified size. But for images that are smaller – will be dynamically calculated the width and height of the popup container.
Thread Starter
JustinF
(@justinfeldman)
Alright, thank you for the reply… Although you should definitely try and resolve this for your next version release.
Here is the CSS I used to fix the size of the image container:
#colorbox, #cboxWrapper, #cboxContent { min-width: 1000px !important; min-height: 625px !important; max-height: 625px !important; overflow: hidden; }
#colorbox {
display: block;
top: 15px !important;
left: 12% !important;
}
#cboxLoadedContent {
width: 100% !important;
height: 94% !important;
background-color: rgba(0, 0, 0, 0.8) !important;
margin-top: 5px;
}
#cboxLoadedContent .cboxPhoto {max-height: 95% !important; max-width: 950px !important;}
#cboxCurrent { top: 97% !important; bottom: 10px !important; }
#cboxTitle {
top: 92% !important;
left: 33.5% !important;
font-size: 22px !important;
}
You can see the result at: http://www.nina-art.co.za/gallery/