Closed Offerel closed 1 year ago
Maybe i found the issue. It seems I have to make use of data-type, to specify if I have a image or video. Because of the php extension, the script doesn't know what type it is.
Anyway nice script, many thx for creating and maintain it. It works nicely together with Justified Gallery
Describe the bug I have tried to adopt your settings from the demo site at https://biati-digital.github.io/glightbox/. On the demo site, in the first example, the images are zoomed to full height. In my case, they appear a lot smaller. The Full sized image has 3000x4000 pixel and should easily fill the screen.
Are you able to reproduce the bug in the demo site No.
Expected behavior The images should have the right size. Additionally, for some reason, there is a white area, but i dont have set a description.
Code Hint: The images are dynamically generated from PHP, thats why i use
simg.php?p=52&t=2
as the image. Main PHP code for output the image is:Screenshots
Desktop: