podaac / hitide-ui

Apache License 2.0
1 stars 1 forks source link

issue/hitide-ui-42: made potential fix to image links #50

Closed jbyrne6 closed 5 months ago

jbyrne6 commented 5 months ago

Changes

Notes

jbyrne6 commented 5 months ago

Update

jbyrne6 commented 5 months ago

This PR is associated with #42

jamesfwood commented 5 months ago

@jbyrne6 We don't want to add the .vscode dir to the repo. That's only for the IDE. Can you take that out? Thanks!

jamesfwood commented 5 months ago

@jbyrne6 Can you look at maybe trying to grab the URL from CMR instead? That seems to be more reliable way, and that url you put in there seems like it could change.

In CMR it looks like this:

{ "Description": "Thumbnail", "URLContentType": "VisualizationURL", "Type": "GET RELATED VISUALIZATION", "URL": "https://podaac.jpl.nasa.gov/Podaac/thumbnails/AMSR2-REMSS-L2P-v8.2.jpg" },

You can grab the RelatedURL with description Thumbnail, and then return the URL.

jamesfwood commented 5 months ago

What do you think @sliu008 ?