Open the image of Ctrl+r until it is in the right position save and use in your html.
I’ve had this problem and so it solved
a good practice would be to put the images in <img src="" ...>
and css in a separate file.
The simpler the code, the better, so you or someone else will be servicing it in the future.
Ex of how I organize my html
insira o código aqui <div class="gallery autoplay items-3 ">
<div id="item-1" class="control-operator"></div>
<div id="item-2" class="control-operator"></div>
<div id="item-3" class="control-operator"></div>
<figure class="item">
<div class="flex">
<div class="itemCaroucel"><img class="" src="imagem/Escala-Hiper-Brinquedos-Postagem-1-1024x1024.jpg" alt=""></div>
<div class="itemCaroucel"><img src="imagem/Escala-Hiper-Brinquedos-Postagem-1-1024x1024.jpg" alt=""></div>
<div class="itemCaroucel"><img src="imagem/Escala-Hiper-Brinquedos-Postagem-1-1024x1024.jpg" alt=""></div>
</div>
</figure>
<figure class="item">
<div class="flex">
<div class="itemCarousel"><img src="imagem/Escala-Hiper-Campanha-Material-Escolar-Postagem-1024x1024.jpg" alt=""></div>
<div class="itemCaroucel"><img src="imagem/Escala-Hiper-Campanha-Material-Escolar-Postagem-1024x1024.jpg" alt=""></div>
<div class="itemCaroucel"><img src="imagem/Escala-Hiper-Campanha-Material-Escolar-Postagem-1024x1024.jpg" alt=""></div>
</div>
</figure>
<figure class="item">
<h1>3</h1>
</figure>
<br><br><br><br><br>
<div class="controls">
<a href="#item-1" class="control-button">•</a>
<a href="#item-2" class="control-button">•</a>
<a href="#item-3" class="control-button">•</a>
</div>
</div>
Dude, first I suggest you remove all this style attribute and make these changes in a .css. file Also try inserting the photo usango the <img> tag instead of inserting using background.
– Felipe Coelho
Hi Felipe, already used the tag img.
– Leonardo Da Costa Rodrigues
Behold that fiddle how you can make the images flow. And in this example I highlighted it so you can better understand how it works.
– Ivan Ferrer
Now the problem you’re having is not a CSS issue, it’s because it was saved lying down, if you open the image individually by right-clicking on "open image in a new tab", you’ll see the actual picture situation, this happened probably because the person who sent the image had her saved lying on the cell phone.
– Ivan Ferrer
There are solutions that can detect face and position your image, see here or here in this example.
– Ivan Ferrer
Here the lib on github and another example
– Ivan Ferrer
When uploading an image, it is also possible to create a preview of the image, where it manually Rotacione as it wants, will only require a little more work, but will solve your problem.
– Ivan Ferrer