Saving thumbnails through the global Save has been disabled starting from https://github.com/GeoNode/geonode/pull/8581.
A dedicated set_thumbnail API has been implemented, which supports sending / setting the thumbnail with a PUT request, either as:
base64 encoded image
link to URL
file upload
base64 or link can be set with the file field inside the JSON body of the request.
E.g.
{
'file': 'data:image/png;base64,(....)'
}
A file upload can be performed with form data.
The client must be adapted to leverage the new API, and implement a contextual Apply button that will be visible only when the thumbnail has been changed.
Saving thumbnails through the global Save has been disabled starting from https://github.com/GeoNode/geonode/pull/8581. A dedicated
set_thumbnail
API has been implemented, which supports sending / setting the thumbnail with a PUT request, either as:base64 or link can be set with the file field inside the JSON body of the request. E.g.
{ 'file': 'data:image/png;base64,(....)' }
A file upload can be performed with form data.
The client must be adapted to leverage the new API, and implement a contextual Apply button that will be visible only when the thumbnail has been changed.