From 3cdc6bd2865cf5095958a4b367327fa96ef411bb Mon Sep 17 00:00:00 2001 From: aVadim Date: Sat, 27 Jul 2024 22:19:09 +0300 Subject: [PATCH] upd: README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 45aaa27..69684cc 100644 --- a/README.md +++ b/README.md @@ -296,6 +296,9 @@ $sheet1->addImage('C3', 'path/to/file', ['height' => 150]); // Set size in pixels $sheet1->addImage('D4', 'path/to/file', ['width' => 150, 'height' => 150]); +// Add hyperlink to the image +$sheet1->addImage('D4', 'path/to/file', ['width' => 150, 'height' => 150, 'hyperlink' => 'https://www.google.com/']); + ``` ## **FastExcelWriter** vs **PhpSpreadsheet**