NASA-IMPACT / admg-casei

ADMG Inventory
https://impact.earthdata.nasa.gov/casei/
Apache License 2.0
1 stars 0 forks source link

Some CASEI image URLs no longer exist #591

Closed heidimok closed 6 months ago

heidimok commented 7 months ago

Context

We were close to closing out this issue to remove the temporary announcement banner on the CASEI UI https://github.com/NASA-IMPACT/admg-casei/issues/586 but realized through that process that several other changes were sitting in staging with tests failing on some.

The current NASA logo is coming from a url and that is longer available for some reason. So if we merged to production we'd be missing the top left NASA logo. This is the url that has changed: https://www.nasa.gov/sites/default/files/thumbnails/image/nasa-logo-web-rgb.png.

Options explored:

We ended up deciding to save the image as the logo is small and likely not changing.

Issue

We realized that additional images (not just the logo) are linked to urls that no longer seem to exist on the nasa site. The most prominent example is the main homepage image (with the ice bridge plane) --> Image url: https://www.nasa.gov/sites/default/files/images/699943main_ice_bridge_full_full.jpg image

Should be: image

While we can save images with the current production, image quality could be a concern for these large images. And it might be a little tricky to dig through and retrieve these images. It would be great if we could figure out where those images might exist and relink them. ways to replace them.

Three different potential paths:

  1. Find where the images went and use them from the new url
  2. Get them from our version history and host them statically in our own website
  3. Replace them with new images if those are not that specific.
heidimok commented 7 months ago

Link to the already optimized image at this place https://impact.earthdata.nasa.gov/casei/static/cc615e0141fde7a8fd097548c4c05c6b/ddcb4/699943main_ice_bridge_full_full.webp

heidimok commented 6 months ago

@smwingo this is an issue I'm hoping to get a bit of help on during sprint 1. I think that we primarily want to relocate the homepage flight image. Do you know who might be the best person who could find it? It's an ice-bridge image.

heidimok commented 6 months ago

@Tammo-Feldmann Some options here we can chat about:

heidimok commented 6 months ago

After speaking with @Tammo-Feldmann we may start with the best image he was able to dig up from the production bucket. It is 80kb and not that grainy. We will go with this first as it'll ensure that the website looks good. It would have been ideal to have a url, but I think with changing the image (and having to reserve the direction of the airplane), it's better to go with the current image we have for now.

heidimok commented 6 months ago

Fixed image