Your New Hero
Everything you need to know about that gigantic banner image that will be splashing across the newly revamped UM-Flint website
FIRST THING’S FIRST: What is this “hero” thing that the has been getting tossed around throughout the development of the university website’s redesign and migration to Drupal?At it’s core, a hero is really just a large banner area that greets the visitor upon first visiting a site and is generally made up of a panoramic graphic and can sometimes be paired with text. The hero area can be both static or dynamic.The tricky thing with putting a hero into a responsive website is seeing how it breaks down as the screen size shrinks. This is why it’s important to serve multiple variations of the hero image, because the context doesn’t always stay the same. Another problem for responsive websites is how do we send just one image to the visitor’s device without sending all of them? Well, we’ve got a solution.
It’s really important for you to think about your image and how you want that to break down. If that’s not your area of expertise then get the designer or frontend dev person in your department to help you. If you don’t have either one of those then contact the Office of University Relations and we’ll help you out.
Your image is going to have four breakpoints, meaning it will have four different widths which will refocus your image in four different ways (see below). Our breakpoints are 480 × 390, 960 × 675, 1440 × 675, 1920 × 675. If you’re wondering why the vertical dimension remains 675 for most of these that’s because we have a set height for our hero area of 450 pixels. Having them be 675 pixels tall helps when the images are resized horizontally to fit retina and HD displays. The hero on mobile, however, is only 260 pixels tall.