1

I've just switched from Wordpress to Ghost. Loving it so far, but one big issue I'm having is resizing images.

I'm using the default theme, and some of the images are small. When I add them into a post they stretch 100% of the width. The markdown I'm using is:

![Alt Text](http://example.com/image.png)

I don't insert the URL for the image as I am uploading it.

Is there any way to resize the images, or keep them at their original size without having them span 100%?

BugHunterUK
  • 8,346
  • 16
  • 65
  • 121
  • This is a problem that is best addressed at the theme level by simply removing the `width: 100%` CSS on images. If you post the theme you are using we may be able to give a more accurate answer. – Reedyn May 24 '17 at 05:29

1 Answers1

1

It is not possible using markdown but you can use the img html tag.

First, you have to upload your image: Upload images on Ghost

And then, replace the markdown code ![Alt](my-image.png) with the HTML tag <img alt="Alt" src="my-image.png" style="width: 300px; height: 300px;" />

Amio.io
  • 20,677
  • 15
  • 82
  • 117
William Diaz
  • 21
  • 1
  • 1
  • 4
  • I downvoted your answer, William. When I tried your suggestion the blog printed the tag as text. If you in future change your answer, let me know. I will change my vote. – Amio.io May 09 '18 at 11:51
  • @zatziky Not sure why it doesn't work for you, but this works without any issue for me (using 1.22.8) – chintogtokh May 20 '18 at 18:42
  • @chintogtokh Our version is 1.22.7. Obviously, I am the one who made the mistake so I'm removing my downvote. Thank you! – Amio.io May 20 '18 at 19:50