Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add Hyperlink to insert_image() #161

Closed
snethej opened this issue May 5, 2016 · 4 comments
Closed

Feature request: Add Hyperlink to insert_image() #161

snethej opened this issue May 5, 2016 · 4 comments

Comments

@snethej
Copy link

snethej commented May 5, 2016

Being able to hyperlink an inserted image would be a nice feature to a cool library.

@jmcnamara jmcnamara changed the title Add Hyperlink to insert_image() Feature request: Add Hyperlink to insert_image() May 5, 2016
@jmcnamara jmcnamara self-assigned this May 5, 2016
@jmcnamara
Copy link
Owner

I'll look into adding it.

@ArtemKuchin
Copy link

Need it too badly.
If added here i will migrate code from WriteExcel

jmcnamara added a commit that referenced this issue Nov 3, 2019
Initial working support for hyperlinks from images.

Issue #161.
@jmcnamara
Copy link
Owner

Initial suport for this feature has been added to master.

You can now do:

use Excel::Writer::XLSX;

my $workbook  = Excel::Writer::XLSX->new( 'text.xlsx' );
my $worksheet = $workbook->add_worksheet();

$worksheet->insert_image( 'E9', 'red.png',
                          {url => 'https://github.com/jmcnamara'} );

$workbook->close();

jmcnamara added a commit that referenced this issue Nov 6, 2019
Added support and tests for hyperlinks from images.
Also restructured drawing rel calculations.

Issue #161.
@jmcnamara
Copy link
Owner

This is now supported in Excel::Writer::XLSX version 1.02.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants