ERDDAP / erddap

ERDDAP is a scientific data server that gives users a simple, consistent way to download subsets of gridded and tabular scientific datasets in common file formats and make graphs and maps. ERDDAP is a Free and Open Source (Apache and Apache-like) Java Servlet from NOAA NMFS SWFSC Environmental Research Division (ERD).
Creative Commons Zero v1.0 Universal
78 stars 57 forks source link

Added base64 image display on the htmlTable view #69

Closed MarcoAlbaETT closed 2 years ago

MarcoAlbaETT commented 2 years ago

If a string field contains a base64 image (like "data:image/png;base64,iVBORw0KGgoAAAAN ....") the htmlTable view display a question mark icon and two button, "[copy image to clipboard]" and "[copy text to clipboard]" The question mark icon display the image on mouse over The "[copy image to clipboard]" create a copy of the image in the clipboard The "[copy text to clipboard]" copy the base64 string in the clipboard. Copy to clipboard is available only on https

The buttons text and the message shown when the cliboard functionality is not available are not translated but configured on each messages xml file in english