Issue with image in GitHub pages, but it works locally

Jeff Ford

I have a GitHub pages site I'm working on, and one one page, the image won't display. It works fine when I load the page locally.

Here's the site where it won't load - http://ibldynamics.com/exercises/ex10_36.html And the code I have is

   <div>    
    <h1>Chapter 10, Explorations 36-40</h1>
    <p> Print out the figure below to assist with these explorations. This is Figure 10.1 in your textbook.
    <img src="../images/Sarkpic1.png" class="img-fluid" alt="Sarkpic1"></p>

</div>

I have another page with an image, and it work's fine - http://ibldynamics.com/exercises/fig6_3.html

And the code I'm using there is

   <div>    
    <h1>Chapter 6, Figure 6.3</h1>
    <p> Print out the image below, and use it to assist with explorations 43-47 in the text.
    <img src="../images/logisticPic2.png" class="img-fluid" alt="logisticPic2"> </p>

</div>

All preamble stuff was copied and pasted, it's all identical. Any ideas? I've tried multiple browsers, so that's not it.

Sushil

The image(../images/Sarkpic1.png) is not uploaded on Github Repository. You can see it if you go to this URL http://ibldynamics.com/images/Sarkpic1.png.

The image(../images/logisticPic2.png) is uploaded on Github. To see it, go to this URL http://ibldynamics.com/images/logisticPic2.png.

To fix this, look/check for image(../images/Sarkpic1.png) into the GitHub repo. if it's not there, then upload it.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Jekyll site works locally but not on Github Pages

CSS not linking with HTML locally but works in Github Pages

Website works locally but GitHub Pages show an empty page

'Switch iframe source' works locally but not on Github Pages site

React App Component Not rendering on GitHub Pages. Works locally

Specific image shows up locally but not on website (GitHub Pages)

Github Pages redirect only works locally, but not on the remote Github server (got 404)

Cannot run github pages locally

Popen works locally but not remotely issue

JSFiddle Example Works, But Not on GitHub Pages

Image not displaying on github pages

Github pages not rendering CSS correctly as it is locally

GitHub Pages not applying CSS but it is working locally

running jekyll locally on a github pages site project

Building GitHub pages locally using Nix

Github not showing my pages exactly as viewed locally

Javascript working locally but not on Github Pages site

CSS links work on github pages but not locally?

Tailwind CSS renders locally but not on GitHub pages

Github pages DNS settings issue

css background image works locally but not remotely

Javascript Korean Encoding Issue - How do i resolve github pages image 404 async error

Image not aligning with the text on GitHub Pages

Image error 404 on GitHub Pages

Background image not working on github pages

Github Pages as Static Image Hosting

React routing works on local machine but not on GitHub pages

HTML can't link Css online in Github Pages but not locally in Linux

AngularJS and GitHub Pages - loading templates issue