2

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.

HyperGroups
  • 8,619
  • 1
  • 26
  • 63

2 Answers2

5

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

Hyperlink[Image[pic, ImageSize -> 800]]
Kuba
  • 136,707
  • 13
  • 279
  • 740
2

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

Mr.Wizard
  • 271,378
  • 34
  • 587
  • 1,371