geonode icon indicating copy to clipboard operation
geonode copied to clipboard

Remove auto-generated thumbnail for documents

Open marthamareal opened this issue 3 years ago • 0 comments

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

  1. Upload a document with a non-image extension eg pdf or txt
  2. 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:

marthamareal avatar Sep 21 '22 08:09 marthamareal