Used when generating dummy placeholder images in the local environment
-
aheckmann/gm
- imagemagick
- graphicsmagick
- Install
imagemagick
andgraphicsmagick
- For Mac
brew install imagemagick
brew install graphicsmagick
- For Mac
npm i local_placeholder_image
local_placeholder_image start
- Access Image
http://localhost:9999/タイトル/テキスト/300x200.png
<img src="http://localhost:9999/タイトル/テキスト/300x200.png" />
local_placeholder_image start
Options:
-p, --port <value> PORT Number (default: 9999)
-h, --help output usage information
- Even if
imagemagick
orgraphicsmagick
is not installed,express
itself starts, but the image is not displayed and only a blank page is displayed.