Images appear on localhost, but not online server

0

I'm not sure what to do, but I'm not sure what to do with it. place works and not online server. Someone who knows what is happening and can help would be grateful, I have been trying for hours to solve the problem without success

folders="public_html \ img \ pages \ renatostudio \ inside \ renatostudio \, the folders are: birthday marriage\ test\ smash \

now the code:                                                                 

                         <div class="iso-box aniversario col-lg-4 col-md-4 col-sm-6">
                            <a href="img/paginas/renatostudio/aniversario/5.jpg" data-lightbox-gallery="portfolio-gallery"><img src="img/paginas/renatostudio/aniversario/5.jpg" alt="portfolio img"></a>
                         </div>

                         <div class="iso-box html casamento col-lg-4 col-md-4 col-sm-6">
                            <a href="img/paginas/renatostudio/casamento/.jpg" data-lightbox-gallery="portfolio-gallery"><img src="img/paginas/renatostudio/casamento/1.jpg" alt="portfolio img"></a>
                         </div>

                         <div class="iso-box aniversario col-lg-4 col-md-4 col-sm-6">
                            <a href="img/paginas/renatostudio/aniversario/4.jpg" data-lightbox-gallery="portfolio-gallery"><img src="img/paginas/renatostudio/aniversario/4.jpg" alt="portfolio img"></a>
                         </div>

                         <div class="iso-box ensaio col-lg-4 col-md-4 col-sm-6">
                            <a href="img/paginas/renatostudio/ensaio/4.jpg" data-lightbox-gallery="portfolio-gallery"><img src="img/paginas/renatostudio/ensaio/4.jpg" alt="portfolio img"></a>
                         </div>

                          <div class="iso-box casamento col-lg-4 col-md-4 col-sm-6">
                            <a href="img/paginas/renatostudio/casamento/3.jpg" data-lightbox-gallery="portfolio-gallery"><img src="img/paginas/renatostudio/casamento/3.jpg" alt="portfolio img"></a>
                         </div>

                          <div class="iso-box smash col-lg-4 col-md-4 col-sm-6">
                            <a href="img/paginas/renatostudio/smash/2.jpg.jpg" data-lightbox-gallery="portfolio-gallery"><img src="img/paginas/renatostudio/smash/2.jpg" alt="portfolio img"></a>
                         </div>

                          <div class="iso-box smash col-lg-4 col-md-4 col-sm-6">
                            <a href="img/paginas/renatostudio/smash/11.jpg" data-lightbox-gallery="portfolio-gallery"><img src="img/paginas/renatostudio/smash/11.jpg" alt="portfolio img"></a>
                         </div>


                         <div class="iso-box ensaio col-lg-4 col-md-4 col-sm-6">
                            <a href="img/paginas/renatostudio/ensaio/5.jpg.jpg" data-lightbox-gallery="portfolio-gallery"><img src="img/paginas/renatostudio/ensaio/5.jpg" alt="portfolio img"></a>
                         </div>

                    </div>
                </div>

            </div>
        </div>
    </div>
</div>

    
asked by anonymous 12.07.2017 / 20:33

2 answers

0

The error was not in the code, but in the images! I do not know why, but dps I passed the images in tiny.jpg they stopped appearing on the server online, but dps that I opened in photoshop and saved again (did not make any changes) they came to appear. If anyone can explain I would love:)

    
16.07.2017 / 10:20
0

If your index.html is in the public_html folder, just put a ./ behind img on each href attribute of your images.

    
13.07.2017 / 22:02