force Fullscreen=True possible with the API ?

Asked by Elie Soubrié on 2012-01-12

Hi Keith,

Happy new year!

I would like to know if there is any "hidden" parameter that I could use to let the helioviewer open directly in fullscreen mode?
For example, something like this :

http://helioviewer.org/index.php?date=2011-06-01T00:00:00Z&imageScale=2.4204409&imageLayers=[SDO,AIA,AIA,171,1,100],[SOHO,LASCO,C2,white-light,1,100]&Fullscreen=True

Otherwise, is there any way to obtain the same behaviour?

Thanks,

Elie

Question information

Language:
English Edit question
Status:
Solved
For:
Helioviewer.org Edit question
Assignee:
No assignee Edit question
Solved by:
Keith Hughitt
Solved:
2012-01-13
Last query:
2012-01-13
Last reply:
2012-01-12
Best Keith Hughitt (keith-hughitt) said : #1

Hi Elie,

There isn't a way to achieve that now, but that is a really good idea and something I have never thought of before. I will file a feature request and see if I can add that for the next "release" around March.

Are there any other features that you think would be useful to include? Mind if I ask how you are using the API?

Best,
Keith

Elie Soubrié (elie-soubrie) said : #2

Hi Keith,

That would be great if it could be included in the next release!

At IAS (http://www.ias.u-psud.fr), we are building a new web interface to our locally archived SDO data.
This interface will be used to let users query our database and download the selected SDO fits files.
We are thinking about giving for each FITS result a link to the corresponding image that can be viewed through your helioviewer interface.
Our web site will use the Sitools2 framework (which uses ext.js) and there seems to be no problem to open helioviewer in an ext.js window :-)
But we would like to "hide" the helioviewer buttons and the youtube stuff... That's why the fullscreen mode at start would be nice...

Thanks for your very tool !

Elie

Elie Soubrié (elie-soubrie) said : #3

Thanks Keith Hughitt, that solved my question.

Keith Hughitt (keith-hughitt) said : #4

Elie,

Have you considered the screenshot API? That might be helpful if you only interested in displaying a preview image, e.g.:

http://helioviewer.org/api/?action=takeScreenshot&date=2012-01-01T00:00:00.000Z&layers=[SDO,AIA,AIA,304,1,100]&imageScale=9.6&x1=-1228.8&y1=-1228.8&x2=1228.8&y2=1228.8&display=true

or

http://helioviewer.org/api/?action=takeScreenshot&date=2012-01-10T00:00:00.000Z&layers=[SDO,AIA,AIA,171,1,100]&imageScale=2.4&x0=0&y0=0&width=1024&height=1024&display=true

Of course you are welcome to link to Helioviewer.org if you want to give users more ability to explore the data.

Elie Soubrié (elie-soubrie) said : #5

Yes, actually, that's what we started to use, but the ext.js window that display the image is so small (512x512) that you really want to enable the zoom/pan feature that the helioviewer automatically provides...