mudrod icon indicating copy to clipboard operation
mudrod copied to clipboard

Add thumbnail image

Open fgreg opened this issue 7 years ago • 3 comments

Add a thumbnail image to the dataset detail page and possibly search result list as well.

fgreg avatar Apr 26 '17 18:04 fgreg

I need more information. What image, is it being generated somewhere?

gxtchen avatar May 16 '17 23:05 gxtchen

@gxtchen They were talking about the thumbnail image that shows up when you do a search in PO.DAAC now:

https://podaac.jpl.nasa.gov/datasetlist?search=wind

Maybe you can scrape it straight from PO.DAAC?

fgreg avatar May 16 '17 23:05 fgreg

@fgreg @gxtchen Actually, the image URL of each dataset is contained in the metadata attribute "Dataset-ImageUrl". For instance, "Dataset-ImageUrl": "https://podaac.jpl.nasa.gov/Podaac/thumbnails/CCMP_MEASURES_ATLAS_L3_OW_L2_5_SSMI_F8_WIND_VECTORS_FLK.jpg"

Or, if my guess is correct, maybe we can just create the image URL using JS. As you can see, the image URL is just "https://podaac.jpl.nasa.gov/Podaac/thumbnails/" + dataset_ShortName + ".jpg".

Yongyao avatar May 16 '17 23:05 Yongyao