Jump to content

is there any way to display SDO images with html without downloading them?


farm24

Recommended Posts

Something like this? After removing the space after https://

<img src="https:// sdo.gsfc.nasa.gov/assets/img/latest/latest_4096_0193.jpg"/>
<img src="https:// sdo.gsfc.nasa.gov/assets/img/latest/latest_2048_0193.jpg"/>
<img src="https:// sdo.gsfc.nasa.gov/assets/img/latest/latest_1024_0193.jpg"/>
<img src="https:// sdo.gsfc.nasa.gov/assets/img/latest/latest_512_0193.jpg"/>

That feeds page has examples of archived imagery.

  • Like 1
Link to comment
Share on other sites

1 hour ago, Jesterface23 said:

Something like this? After removing the space after https://

<img src="https:// sdo.gsfc.nasa.gov/assets/img/latest/latest_4096_0193.jpg"/>
<img src="https:// sdo.gsfc.nasa.gov/assets/img/latest/latest_2048_0193.jpg"/>
<img src="https:// sdo.gsfc.nasa.gov/assets/img/latest/latest_1024_0193.jpg"/>
<img src="https:// sdo.gsfc.nasa.gov/assets/img/latest/latest_512_0193.jpg"/>

That feeds page has examples of archived imagery.

That works thank you!!!!

I’ll credit you for helping me in the site

Link to comment
Share on other sites

It’s painfully slow because you’re linking to the high res images directly in the img tags. This is harmful for the SDO server (as you do not host the images yourself). You can link to the high res imagery but not in the img tag! 
At SWL we often have local caches to prevent load on the SDO servers and optimise image size for a fast loading site.

Link to comment
Share on other sites

22 minutes ago, Vancanneyt Sander said:

It’s painfully slow because you’re linking to the high res images directly in the img tags. This is harmful for the SDO server (as you do not host the images yourself). You can link to the high res imagery but not in the img tag! 
At SWL we often have local caches to prevent load on the SDO servers and optimise image size for a fast loading site.

The img tags are only the low res not the big ones but the click links are the high res 

Link to comment
Share on other sites

6 uren geleden, Vancanneyt Sander zei:

I only checked on my mobile so I didn’t check the source but due to the loading time being above 20sec I could only think of that as the cause.

It’s because GitHub pages isn’t the fastest hosting service

It’s kinda slow

 

also who do you guys use to host? 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you also agree to our Terms of Use and our Privacy Policy.