Images don't load sometimes

146
March 30, 2018, at 2:22 PM

i'm using Brackets to develop this page and bootstrap 4, but I'm facing a problem:

When I open Brackets and open the page using the livr preview, everything is ok, every single image is displaying ok, but when I just open the page with Chrome, Firefox or IE, the images are not loading (actually just one)

The page is in portuguese, I'm sorry for that, but the code it's ok.

HTML: https://pastebin.com/4tK96DFW
CSS:  https://pastebin.com/6gN3R9CR

Answer 1

I have had a quick browse through your HTML code and noticed that some of your tags are not consistent and I wonder whether this is affecting whether it displays the image or not. Sometimes you have used a / at the beginning of the and other times not. For example, I noticed the following:

<img class="img-fluid" src="/Imagens/gow4.jpg">

but then other instances where you have written:

<img class="img-thumbnail logo-para-cel" src="Imagens/Logo-1.png">

So the key thing here is that in the first img tag, you have started the src with a / but in the second src there is no /

I'll save you from me going into too much detail about this, but I wondered whether you could check and post back the html code just for the image that you said was displaying properly - and I'll see if it helps us to figure out why all of the images aren't showing.

READ ALSO
Bulk Vertical update of Aurora MySQL column values

Bulk Vertical update of Aurora MySQL column values

So I am using Aurora MYSQL DB, and my AWS Lambda instance needs to do the followingAssume a table with two columns, ID, and Translated ID

149
PHP Prepared statement not inserting data in mysql database

PHP Prepared statement not inserting data in mysql database

I'm working on a simple project where I'm collecting the JSON data from a register page and trying to insert in mysql database using prepared statement

112
need help for adding user role pages to login

need help for adding user role pages to login

I am trying to update my login system with mysql to mysqli, paswords were hashed 512, I changed it to php setting password_verify and now stacked on redirect user to their role pages, I checked forum found some examples with asp and some with classes,...

139