We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Slack: How to make a hero shot and select the focal point for mobile styling

How Do I?

From EE Slack's avatar
From EE Slack
185 posts
9 months ago
From EE Slack's avatar From EE Slack

Does anyone know of a field type (addon?) that would allow the focus point of an image to be selected for the best mobile styling of a hero shot? For example, if the car detail is at the bottom right on landscape or large screens, it needs to be centered on smaller screens. I considered using a grid row select field with 6 or 9 options (like top left, top, top right, etc.), but since this is a common requirement, I wondered if there was a more established approach in ExpressionEngine.

Interested in learning more solutions or want to get to know other EE users? Read more about joining the slack here! Join Our Slack!

       
From EE Slack's avatar
From EE Slack
185 posts
9 months ago
From EE Slack's avatar From EE Slack

Numerous users chimed in regarding approaches to image focus point selection for mobile and desktop hero images:

  1. highlights that he requires two differently sized images—one for desktop and one for mobile—and uses manipulations for intermediate sizes. He notes that if the mobile version isn’t uploaded, it leads to poor cropping.

  2. agrees with this approach but mentions the challenges posed by larger sites with many headers, suggesting that a single focus point selection would save time on image editing.

  3. recommends the JCOGS Image add-on, which allows specifying the focus point for cropping based on various criteria, including a facial recognition algorithm. They also mention an upcoming update that will introduce a new “Image Field” type enabling multiple crop focus points, expected to be released around EEConf.

  4. mentions that the Ansel plugin offers a user interface for selecting the portion of an image to use.

  5. uses Ansel with a main banner image and allows editors to upload a mobile version to manage the crop proportions. If no mobile image is provided, the main banner image is used with Ansel’s resizing feature.

  6. finds the JCOGS Image documentation on cropping parameters helpful, as it simplifies the process, allowing for better alignment with CSS without extensive manual adjustments.

       
laurayoung's avatar
laurayoung
4 posts
6 months ago
laurayoung's avatar laurayoung

Thanks for your instruction. This is what I’m looking for.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.