Hi, I’m developing a database of SE Asian medicinal drugs, and we’d like to show a random sampling of images of the species at the head of our page. Is there a way to pull, say, the first five images directly, once we have identified the GBIF ID and base URL for the plant? I notice that these are not stored on GBIF itself, but that GBIF portals them over from different locations.
Thanks very much for your help. I’m a complete noob, more of an historian who enjoys datatables, and don’t know how to program.
Perhaps the easiest would be for you to generate a download in the Darwin Core Archive format for all the occurrences associated with images for the species in your database (see an example selecting multiple plant groups with images).
The URL to these images will be available in the files downloaded (see more details on where to find image URLs here) . You can then use these to fetch the images you would like to show.
Alternatively, you could also use our Occurrence API. We have a blogpost that might help you get started.
In any case, keep in mind that the license for the images displayed on GBIF can be different from their associated occurrences. Please check the licenses of the images you would like to use.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.