0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

phpwkhtmltopdfで画像が表示できない

Posted at

以前qiitaの記事を見て導入した際には何の問題もなかったのですが、最近(2019/12)別のシステムに導入したところ、画像が表示できない問題があり、対象方法が分かったので覚え書きします。

バージョン

wkhtmltopdf:0.12.5
mikehaertl/phpwkhtmltopdf:2.3.1

対処方法

  • 画像のパスをフルパス(httpから)で記載
  • ip制限をかけていたので画像フォルダのみ解除
  • 理由は不明…
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?