Skip to content

Inconsistent image aspect ratio and cropping across location and gallery pages #6

Description

@AzharAliCodes

Description

While exploring the bakerydemo-nextjs project, I noticed that images are rendered with inconsistent aspect ratios across multiple sections, including:

  • Locations page
  • Gallery page

Some images appear unevenly cropped or stretched depending on their original dimensions. This results in inconsistent card heights and visual alignment across the grid.

Since this behavior occurs in multiple areas, it may be related to a shared image component or CSS styling pattern.

Steps to Reproduce

  1. Run bakerydemo-nextjs locally
  2. Navigate to the Locations page
  3. Navigate to the Gallery page
  4. Observe image rendering differences across cards

Expected Behavior

Images across the site should maintain a consistent aspect ratio and alignment to ensure uniform card layout and visual consistency.

Actual Behavior

Images render with varying proportions depending on the source image, causing inconsistent layout and framing.

Environment

  • bakerydemo-nextjs (latest main branch)
  • OS: Linux
  • Browser: Chrome
  • Desktop viewport

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions