0
I need to make my images appear on tag img
however only a few appears, I’ve taken all the css and it’s no problem in this.
Below the photo that testifies that html is understanding the image:
On my page I’m calling the pictures like this:
@foreach($produto->imagens as $imagen)
@if($imagen->FlgPrincipal == 0)
<div class="col-md-3">
<img src="{{$imagen->BLOB}}" class="img-responsive img-normal">
</div>
@elseif($imagen->FlgPrincipal == 1)
<div class="col-md-5">
<img src="{{$imagen->BLOB}}" class="img-responsive img-principal">
</div>
@endif
@endforeach
What could possibly be going on? I’m basically using the framework Laravel
If you right-click on the image and have the image displayed on its own?
– novic
yes, she displays perfectly
– Renan Rodrigues
@Virgilionovic Something crazy is that when I refresh the page some other goes away, and some other appears, more without defined pattern
– Renan Rodrigues
apparently the size of the image affects, how to solve this ?
– Renan Rodrigues
You have to standardize the size
– novic
How can I do this ? Using Laravel as a framework ? Know how to reduce image quality if the user sends something with high quality ?
– Renan Rodrigues
http:/itsolutionstuff.com/post/laravel-5-image-uploadand-resize-example-using-intervention-image-packageexample.html take a look at this tutorial and I’ve already done an example here
– novic
@Virgilionovic my business is with blob, will it work ?
– Renan Rodrigues
Actually it’s okay, the images are of different size and need to have a pattern of size, shape and quality. Work.if you do the process before recording in the bank
– novic