Crop pictures
The cards in crops page are currently illustrated with in-house made icons. We've been adding crops, for which we do not have icons (https://sandbox.genesys-pgr.org/c/). A solution for this is using open access and botanically identified pictures.
Crop images
We will use the existing file repository and upload multiple images (at least one) per crop in folders like /crops/banana/cover
. The file repository supports all metadata elements required to attribute the source properly.
See https://sandbox.genesys-pgr.org/admin/r/files/crop/cowpea
- Internal Crop Trust repositories can provide many of these pictures.
- wikimedia commons can be used as source (e.g., African spider plant: https://commons.wikimedia.org/wiki/Category:Cleome_gynandra).
- iNaturalist (e.g., Cowpea: https://www.inaturalist.org/observations/13397511). This site contains botanically verified images with open access licenses and maintains a REST API.
Card
We don't need a card design -- material UI already provides for that, see https://material-ui.com/demos/cards/#media
API changes
We need an updated server response that includes the image metadata: genesys-server#350 (closed)