From aac8ad508491ecfb2642ca4d9f78914b8c5aaba4 Mon Sep 17 00:00:00 2001 From: Banana Date: Fri, 20 Mar 2020 20:49:25 +0100 Subject: [PATCH] init of the whole page screenshot using wkthmlimage --- documentation/snapshots-of-linked-webpage.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 documentation/snapshots-of-linked-webpage.txt diff --git a/documentation/snapshots-of-linked-webpage.txt b/documentation/snapshots-of-linked-webpage.txt new file mode 100644 index 0000000..7f2f277 --- /dev/null +++ b/documentation/snapshots-of-linked-webpage.txt @@ -0,0 +1,14 @@ +Whole page screenshot of a website + +# Requirements +wkhtmlimage from https://wkhtmltopdf.org (tested with wkhtmltoimage 0.12.5) + +# Setup +Change WKHTMLTOPDF_USE to true and alter the path WKHTMLTOPDF_COMMAND to your wkhtmltoimage install + +# Why wkhtmltoimage and not something newer or better? +puppeteer is kinda overkill and the whole npm is, well, moren then that... +https://developers.google.com/web/tools/puppeteer + +chromdriver and chrome was also some overkill and there was no simple +php implementation. \ No newline at end of file -- 2.39.5