cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

Image loading from a hyperlink

Hey! 

I want to perform image loading from a hyperlink, not data table as we have millions of images. Is this possible in JMP?

-Ilmari

6 REPLIES 6
jthi
Super User

Re: Image loading from a hyperlink

Just using Open() might work for simple cases

Names Default To Here(1);

img = Open("https://www.jmp.com/en/company/media_10eeb65ad6a836677c8ff6b12e9d88dd4be7aa9e8.png");

nw = New Window("",
	img
);
-Jarmo
jthi
Super User

Re: Image loading from a hyperlink

Or New HTTP Request

Names Default To Here(1);

req = New HTTP Request(
	url("https://www.jmp.com/en/company/media_10eeb65ad6a836677c8ff6b12e9d88dd4be7aa9e8.png"),
	Method("GET")
);
data = req << send;

img = New Image(data);

nw = new window("",
	img
);
-Jarmo

Re: Image loading from a hyperlink

My description might have been a bit vague: what I want is to load the image from a path to hover over label. Can this hyperlink be used for this in some manner?

Re: Image loading from a hyperlink

Or, have an hyperlink in the hover over label that I can click and open the image

 

Re: Image loading from a hyperlink

You could set up a "Click" behavior for the hover label, so that clicking on it will take you to a particular hyperlink:

christianz_0-1782466895310.png

jthi
Super User

Re: Image loading from a hyperlink

Event Handler column property is your best bet. Depending on how you wish the window to look like, use Open(), Web() or New Window() + some way to load the image (open, new image, new http request). If you have JMP19, this is in my opinion good use case for (global) tag.

-Jarmo

Recommended Articles