Menu
Hey,
i have created a onepager with a gallery (a bootstrap 4 modal (as popup) with a carousel in it). Now the problem is that the carousel needs all pictures to display in the sourcecode of my site. I do that with a php function which creates for all images in a folder an image object at the website but this causes that the website have to load all pictures (~120mb) at the opening -> it loads very slow. Is there a way to load or create the image object only when the gallery (modal) gets opened or when it gets visible?
Thanks in advance!