BugHunterUK
BugHunterUK

Reputation: 8948

Ghost CMS - Keeping images at their default size

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%?

Upvotes: 1

Views: 2582

Answers (1)

William Diaz
William Diaz

Reputation: 21

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;" />

Upvotes: 1

Related Questions