Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

start on thumbnail implementation (WIP) #144

Closed
wants to merge 5 commits into from

Conversation

bartvde
Copy link
Collaborator

@bartvde bartvde commented Feb 1, 2017

What does this PR do?

Add the global saveThumbnail function that gets called by GeoNode templates
It will post a JSON with image: true and the base64 encoded image as data property.
The endpoint needs some work that @milafrerichs is tackling in another PR, most notably: have JSON responses, remove static thumbnail.js script from template if react viewer
Also needed is a change to geonode-client that sets olMap on the state/store, this will also be handled separately.

Still need to do tests on this one.

Screenshot

Related Issue

closes #88

@bartvde
Copy link
Collaborator Author

bartvde commented Aug 31, 2017

Thumbnails got in already, so closing my WIP PR

@bartvde bartvde closed this Aug 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

thumbnail generation code
1 participant