Added a simple scale filter to image_operations.#1
Open
oliverseal wants to merge 137 commits intomasterfrom
Open
Added a simple scale filter to image_operations.#1oliverseal wants to merge 137 commits intomasterfrom
oliverseal wants to merge 137 commits intomasterfrom
Conversation
(technically we should standardise on no leading space, because the leading space creates a blockquote element - however, it's not really noticeable in the end result, and this way we can easily copy and paste from the changelog...)
* Add a new hook 'register_account_menu_item' This new hook makes it easier for third party apps to add new buttons on the 'my account' page in the Wagtail admin. Existing buttons are converted to the new hooks to make the code consistent. * Add documentation for the new register_account_menu_item hook
The latest version of the Elasticsearch client attempts to establish a connection upon initialisation. This commit mocks out the backend.
# Conflicts: # wagtail/contrib/postgres_search/backend.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Feature: simplified
scalefilter on imagesOften times (especially when using the wagtail API) there is need to get an image that isn't necessarily of a specific width or height, but rather of a specific scale. The most common use case would be supporting
<img srcset="..." />or media queries in CSS. The users of the CMS may have uploaded images of varying sizes, but at render-time we just want to be able to provide responsive images.This new
scalefilter spec is meant to facilitate that.