downshiftorg / prophoto-issues

Public issue tracking for ProPhoto 6
8 stars 8 forks source link

Add dynamic height relative to the background #845

Open postmastersteve opened 6 years ago

postmastersteve commented 6 years ago

Users frequently want to create layouts which have a prominent "hero" image or gallery area at the top of their layout. They want to overlay items like navigation menus, logos, "scroll down" arrows, etc.

To overlay widgets, the image or gallery must be applied as a background to the block, but the behavior of these background elements frequently crops the background out of view. (e.g. wide backgrounds seen on tall phone screens)

Proposing the option to have a block read the aspect ratio of the background image or background gallery to set the min-height value for the block, such that cropping can be avoided while still providing the ability to overlay widgets in a dynamic fashion. For example:

2018-02-19_16-33-34

postmastersteve commented 6 years ago

+1 Jen Lucas ticket 175846

postmastersteve commented 6 years ago

+1 David Wallters ticket 176098

benjamintennant commented 6 years ago

+1 Matt Hudson and tons of other people - they want to create a block with a background image without requiring that there be an empty widget in the block. Using padding or a min-height option would be rad.