Good day. You need to implement a slider with uploading photos of this type. slider The active slide is centered, and the previous / next is on the sides. The whole point is that when you press the "right" button, the next photo should be loaded from the base, and the previous one should be removed from the slider, the same with the "left" button. Ordinary sliders are not suitable, because Images of about 30 pieces, which are also in normal quality, and because of this, everything is tupit. And the whole thing should be cyclical. Please send on the right path

  • how many images on average do they weigh on one slide? - DogeDev
  • @DogeDev, I squeezed them already to a distortion almost, on average, each weighs ~ 150 kb, but in the compartment it turns out about 4 meters, and accordingly, everything becomes very bad, the slider even builds slowly, and the page is heavy, I started to make my own Slides 5 were initially loaded, but ran into a problem. I use the transform: translate property to scroll, and now when I delete the previous slide, my slider goes forward by the width of the deleted slide, and accordingly the central image is already far from the center - Vyacheslav Fedorov
  • On which devices do you start to blunt with 4mb images? Google image search results give much more traffic, and do not slow down, are they? Without a code you can hardly help anyone here. - teran
  • @teran, do not need to refer to the age of high technology and high speed Internet, not everyone has it. - DaemonHK
  • @DaemonHK and I didn’t talk about Internet speed at all. I asked about the device, not the access speed. in this case, the person is generally most likely working on the locale and the speed is generally not in the business. - teran

0