Added the functionality to prevent the image to load in lightbox for mobile devices.