Skip to content

Added a simple scale filter to image_operations.#1

Open
oliverseal wants to merge 137 commits intomasterfrom
feature/scale-filter
Open

Added a simple scale filter to image_operations.#1
oliverseal wants to merge 137 commits intomasterfrom
feature/scale-filter

Conversation

@oliverseal
Copy link
Copy Markdown
Member

Feature: simplified scale filter on images

Often 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 scale filter spec is meant to facilitate that.

BertrandBordage and others added 30 commits January 4, 2018 19:19
(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
kaedroho and others added 30 commits May 4, 2018 15:57
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
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.