- Issue created by @alex.skrypnyk
User Story 1: Display Relevant Image Portion for Anonymous Users
As an anonymous user,
I want to see the relevant part of an image displayed in cards,
So that I only see the most meaningful and well-composed portion of the image.
User Story 2: Editorial Control Over Vertical Image Alignment
As a content editor,
I want to be able to choose how card images are vertically aligned,
So that I can ensure the most relevant part of the image is shown to viewers.
Given I am an anonymous user,
When I view cards across different parts of the site,
Then I see images that are vertically aligned to display the most relevant portion
Given I am a user with the “content editor” role
When I go to the theme settings
Then I should see options for each card type to select a vertical alignment (Top, Center, Bottom)
When I edit or create cards in Manual or Automated list
And I do not change the image vertical alignment for cards
Then I can see card image aligned correctly on the front-end according to the site-wide settings
Given I am a user with the “content editor” role
And I edit or create cards in Manual list
When I select a vertical alignment (Inherit, Top, Center, Bottom)
And I save the content
Then I can see card image aligned correctly according to the specific alignment settings on the front-end
Active
1.11
Code