2
$\begingroup$

I found that

Hyperlink[im, "something", ImageSize -> 800] 

The ImageSize only add some borders of my im.

How to make my im become the actual size?

You can try a big image.

$\endgroup$
0

2 Answers 2

5
$\begingroup$

Short, but the answer, is to fix image size:

Hyperlink[Image[pic, ImageSize -> 800]] 
$\endgroup$
2
$\begingroup$

My preferred method to prevent this kind of automatic resizing is to wrap the element in Pane.
This has the advantage that it does not require one to set a specific value with ImageSize.

im = Image[RandomReal[1, {300, 400, 3}]]; Hyperlink[im, "something"] Hyperlink[Pane @ im, "something"] 

enter image description here

enter image description here

$\endgroup$

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.