• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not a bug Lightbox Auto Close Problem

ogirginc

Active member
#1
Hi,
I, @Kintaro and @Jeff Berry are having a auto close problem when trying to open lightbox. GIF is from the XenReviews but myself and Jeff had confirmed having same problem for an add-on in RM too.

Later Jeff said:
Earlier this week when you posted this, I followed the link and noticed the same issue. Now it doesn't seem to be an issue on their site anymore. I wonder if they fixed it?

I definitely think this bug might be more on the XF side of things though, I haven't touched it since I got it working so I don't understand how it could've broke other than the upgrade to XF 1.4
And my reply was:
I don't think so because it is still happening to me.

lightbox-auto-close.gif
 

Mike

XenForo developer
Staff member
#2
The images disappearing like that happens because they failed to load -- as in, the JS received an error event. Once there are no images to display, the lightbox closes.

The demo you've shown is because viewing the full size images is actually broken there: https://xenreviews.com/attachments/images-jpg.600/ Shows a DB error (I don't know why debug mode is enabled).

The example you give here is likely being blocked because of your ad blocker being overzealous (based on the name of the resource).
 

ogirginc

Active member
#3
The images disappearing like that happens because they failed to load -- as in, the JS received an error event. Once there are no images to display, the lightbox closes.

The demo you've shown is because viewing the full size images is actually broken there: https://xenreviews.com/attachments/images-jpg.600/ Shows a DB error (I don't know why debug mode is enabled).

The example you give here is likely being blocked because of your ad blocker being overzealous (based on the name of the resource).
Thanks for taking time to explain Mike! (y)