geonode
geonode copied to clipboard
Remove auto-generated thumbnail for documents
Expected Behavior
Documents that are not images should have an empty thumbnail so that the client can show the default set image in that resource card.
Actual Behavior
The backend generates a default thumbnail based on the document type and returns that to the client.
Steps to Reproduce the Problem
- Upload a document with a non-image extension eg pdf or txt
- Notice that an automatic thumbnail is generated by the backend.
Specifications
- GeoNode version: master, 4.0.x
- Installation method (manual, GeoNode Docker, SPCGeoNode Docker):
- Platform:
- Additional details: