Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images are not getting displayed #140

Closed
sriharsha0806 opened this issue Sep 10, 2018 · 9 comments
Closed

Images are not getting displayed #140

sriharsha0806 opened this issue Sep 10, 2018 · 9 comments

Comments

@sriharsha0806
Copy link

https://sriharsha0806.github.io/posts/2012/08/blog-post-2/

https://github.com/sriharsha0806/sriharsha0806.github.io/blob/master/_posts/2018-07-17-blog-post-2.md

I have posted the blog post link and block post md file for comparision. The Images are displayed in blog post whereas in blog post .md file you can see. May i know why is it happening?

@SreenivasVRao
Copy link

It should be possible to get them to work with local images. However, I found a work around after digging around with the author's own blog posts.

Basically, host the images online on a website like imgur, and link to it.
For example to embed this picture: ![](https://i.imgur.com/bdWWcsf.jpg)

https://github.com/staeiou/staeiou.github.io/blob/master/_posts/2018-04-16-keeping-computation-interpretation-ethoslab.md

#80

@sriharsha0806
Copy link
Author

Thanks

@drdh
Copy link

drdh commented Jul 7, 2019

Hi, I have the same problem, and I find another solution.

The problem is:

_posts/abc.md
_posts/abc.jpg

I noticed that when I insert images like that, ![](abc.jpg), I got an error like that, RROR '/posts/abc.jpg' not found.

It changes _posts to posts. !

So I create another directory posts, and now the files are as follows

_posts/abc.md
posts/abc.jpg

And insert images ![](abc.jpg).
It works.

@Jumble4659
Copy link

Hello

I was having a similar problem, I had to put the full path to the image to get it to work:

this worked:
/myrepo/images/image.png

rather than:
/images/image.png

kootsoop pushed a commit to kootsoop/kootsoop.github.io that referenced this issue Nov 27, 2019
@someshsingh22
Copy link

Ok so the teaser items in the CSS are same, the related story teaser looks appropriate while the blogpost list's teasers are unusually large (on desktop), when I decrease the size say 50% width and height the teaser is too small for related stories.

How can we set different sizes dor both of them, It would be a huge help.

@Tatianabellagio
Copy link

Thanks so much!! After trying so many things

_posts/abc.md
posts/abc.jpg

this worked for me!

MingSun-Tse pushed a commit to MingSun-Tse/mingsun-tse.github.io that referenced this issue Apr 30, 2023
@Zijia-Cheng
Copy link

Ok so the teaser items in the CSS are same, the related story teaser looks appropriate while the blogpost list's teasers are unusually large (on desktop), when I decrease the size say 50% width and height the teaser is too small for related stories.

How can we set different sizes dor both of them, It would be a huge help.

Hi, may I ask how to change figure size in markdown files? Thanks!

@Howl144
Copy link

Howl144 commented Aug 4, 2023

Hello

I was having a similar problem, I had to put the full path to the image to get it to work:

this worked: /myrepo/images/image.png

rather than: /images/image.png

Whoo~~ It works for me,thanks broo

@rlucas7
Copy link

rlucas7 commented Oct 21, 2024

#91 (comment)

^linked comment fixed this issue for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants