You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we have the following requirement: in many cases GeoNode users would like to be able to upload a static image that can be used in place of the automatically GeoNode generated thumbnail.
We would like to develop a contrib application which, when added in INSTALLED_APPS, will act in the following way:
in the edit layer/map form, there will be a new button, named "Upload" in the Thumbnail section
clicking on the button, the user will get to an "Upload thumbnail" page, identical for layers and maps
the user will be able to upload a thumbnail to be associated with the layer/map. If an image is uploaded, then it will be used as the thumbnail for that layer/map. Otherwise the usual GeoNode behaviour will keep going
How GeoNode would be impacted when the contrib application is used:
there won't be any schema change in existing tables
there will be a new model (table) which will keep a 1-1 relation with base_resourcebase
thumbnail_url will be dehydrated in geonode/api/resourcebase_api.py (only when the extension is used) in order to return the static image url in place of the thumbnail
the edit layer/map form will have a new "upload thumbnail" button
a new page with the upload thumbnail feature will be available
Please provide your feedback (maybe with changes/improvements), and I would soon send a PR with this new contrib application.
The text was updated successfully, but these errors were encountered:
It would be great to have some settings option which filesize and types are allowed (maybe even svg :)) By the way have you seen there is an upload option in mapstore for thumbs as well nevertheless I like the idea of a viewer independent contrib app.
Hello GeoNode developers
we have the following requirement: in many cases GeoNode users would like to be able to upload a static image that can be used in place of the automatically GeoNode generated thumbnail.
We would like to develop a contrib application which, when added in INSTALLED_APPS, will act in the following way:
How GeoNode would be impacted when the contrib application is used:
Please provide your feedback (maybe with changes/improvements), and I would soon send a PR with this new contrib application.
The text was updated successfully, but these errors were encountered: