Description of the need
With the addition of https://github.com/backdrop/backdrop-issues/issues/4903 into core, there has been some discussion about the need to add a new image style that we can use for our front page view of Cards. Various options have been discussed here: https://github.com/backdrop/backdrop-issues/issues/5593
Of the options presented, this is the one that has the most traction so far. It would be nice to get this into 1.22.0, since the new cards content type will be so prominent and it would be really nice if the view layout (image alignment) doesn't "break" as people experiment with it.
Proposed solution
After discussing this with @quicksketch during our informal sprint today, we've come up with the following proposal to address the following goals.
1) Keep changes to a minimum 2) Future proof the changes as much as possible 3) Name the new image style in a way that helps people understand the difference between cropped and uncropped image styles 4) Provides a meaningful alternative or option to existing image styles
I'm about to submit a PR that does the following. Feedback welcome.
1) Creates a new cropped image style 2) Names it "Cards (600x400 cropped) 3) Machine name = "cards"
Alternatives that have been considered
https://github.com/backdrop/backdrop-issues/issues/5593
Additional information
We have deliberately added the word cropped into the label to help distinguish it from existing image styles. This one will behave differently, because it is cropped and the others are not, and we feel as if the label should somehow reflect that.
Sorted alphabetically, we would have a list of image styles that would appear as:
Cards (600x400 cropped) Large (800x600) Medium (300x250) Thumbnail (100x100)
Recent comments
Thank you, Backdrop developers! - Not only for past and ongoing development work, but for all your help in solving issues and helping users get the most out of this wonderful product. My...
Happy Birthday Backdrop CMS - Share your projects!
If you use CSS Flexbox Layout, you can do with simple styles. In this example, if one or two side columns are excluded from the layout, the central column will occupy all the remaining width:...
How to show main content full-width when sidebar is empty
I found that it had to be specifically <!--> not <!--pagebreak-->
Paging - incorporate with CKeditor?