I have 2 photos, one yes, it appears to me, and the other one doesn't, and I don't understand what the problem is if the code is the same.
Code:
<body>
<?php include'BarraDCabecera.php'; ?>
<div class="container">
<div class="row">
<div class="col">
<div class="card" style="float:right; width: 35rem;">
<h4 class="card-title">Xperia 5</h4>
<img class="card-img-top" src="/imagenes/xperia.jpg">
<div class="card-body">
<p class="card-text">Cámara con tres objetivos</br>
Autoenfoque de ojos </br>
Pantalla OLED FHD+ HDR de 21:9 </br>
Plataforma móvil Qualcomm® Snapdragon™ 855 </br>
DIMENSIONES 158 × 68 × 8,2 mm </br>
PESO 164 g </br>
RESISTENTE AL AGUA (IP65/68) </br>
Doble SIM </br>
Batería 3140 mAh</p>
<p> Precio 700€ </p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="col">
<div class="card" style="float: left; width: 35rem;">
<h4 class="card-title">Galaxy Z Flip</h4>
<img class="card-img-top" src="imagenes/galaxy.jpg" alt="Card image cap">
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
<div class="w-100"></div>
<div class="col">Column</div>
<div class="col">Column</div>
</div>
</div>
The one from the Xperia doesn't come out, I've tried 10 photos already, and changed the name another 10 times for each photo, and there's no way.
when you load the xperia photo you do it
while for Samsung..
Try removing the bar
Try removing the bar on the other one as well. So: This is the good one:
The one that is incorrectly corrected:
If you still can't see it, check that the image is .jpg and not .png or .jpeg
Possible solutions:
you change it to:
either
Still not seen? Check that:
public/
you already have it wrong (unless your HTML is also in this folder)..jpg
or.jpeg
(not the same).