Skip to content

Thumbnail management#51

Merged
mradamcox merged 2 commits intodevelop/0.xfrom
thumbnail_management
Mar 4, 2022
Merged

Thumbnail management#51
mradamcox merged 2 commits intodevelop/0.xfrom
thumbnail_management

Conversation

@mradamcox
Copy link
Copy Markdown
Member

reverts some of the changes made to improve FullThumbnail creation. Specifically, where I thought that FullThumbnail urls could easily be swapped in during document save operations to use them instead of default thumbnails, turns out this is not so easy. So, this PR does the following:

  1. Reimplement the default GeoNode thumbnail creation for Documents via post_save signal (this had been disconnected).
  2. Only use FullThumbnails urls when saving serialized documents to Volume lookups, i.e. they will go back to only appearing where a volume has been serialized (i.e. volume summary) and not in any default GeoNode pages (like document search) or georeference app pages (like the Georeference tab of the document detail page).
  3. adds a couple of oneoff management commands for refreshing/fixing thumbnails across the system.

@mradamcox mradamcox merged commit fc63b59 into develop/0.x Mar 4, 2022
@mradamcox mradamcox deleted the thumbnail_management branch March 4, 2022 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant